Definition at line 30 of file FileSystemDestination.cs.
static void Ntp.Analyzer.Export.FileSystemDestination.ApplyPermissions |
( |
string |
file, |
|
|
LogBase |
log |
|
) |
| |
|
inlinestaticprotected |
static string Ntp.Analyzer.Export.FileSystemDestination.JoinPath |
( |
string |
path1, |
|
|
string |
path2 |
|
) |
| |
|
inlinestaticprotected |
Definition at line 66 of file FileSystemDestination.cs.
References a, b, and c.
68 string a = path1 ??
string.Empty;
69 string b = path2 ??
string.Empty;
71 a = a.TrimEnd(Path.DirectorySeparatorChar).TrimEnd(Path.AltDirectorySeparatorChar);
72 b = b.TrimStart(Path.DirectorySeparatorChar).TrimStart(Path.AltDirectorySeparatorChar);
74 string c =
string.Concat(a, Path.DirectorySeparatorChar, b);
static string ScrubPath(string path)
static string Ntp.Analyzer.Export.FileSystemDestination.JoinPath |
( |
string |
path1, |
|
|
string |
path2, |
|
|
string |
path3 |
|
) |
| |
|
inlinestaticprotected |
static void Ntp.Analyzer.Export.FileSystemDestination.PrepareFile |
( |
string |
file, |
|
|
LogBase |
log |
|
) |
| |
|
inlinestaticprotected |
static string Ntp.Analyzer.Export.FileSystemDestination.ScrubPath |
( |
string |
path | ) |
|
|
inlinestaticprivate |
static void Ntp.Analyzer.Export.FileSystemDestination.TestFile |
( |
string |
file, |
|
|
string |
content |
|
) |
| |
|
inlinestaticprotected |
static void Ntp.Analyzer.Export.FileSystemDestination.WriteFile |
( |
Stream |
stream, |
|
|
string |
file, |
|
|
LogBase |
log |
|
) |
| |
|
inlinestaticprotected |
Definition at line 113 of file FileSystemDestination.cs.
References e.
117 using (var fileStream =
new FileStream(file, FileMode.CreateNew))
118 stream.CopyTo(fileStream);
124 log.DestinationFileError(file, e);
uint Ntp.Analyzer.Export.FileSystemDestination.FileGroupId = null |
|
static |
uint Ntp.Analyzer.Export.FileSystemDestination.FileMask = 644 |
|
static |
uint Ntp.Analyzer.Export.FileSystemDestination.FileUserId = null |
|
static |
The documentation for this class was generated from the following file: