Method | Description | |
---|---|---|
AreSameFile ( |
||
AreSameFile ( string filePathA, string filePathB ) : bool | ||
Copy ( Stream source, Stream destination, int bufferSize = DefaultBufferSize, |
||
Copy ( string sourceFilePath, string destinationFilePath, OverwriteMode overwriteMode = OverwriteMode.AlwaysOverwrite, CopyOptions options = CopyOptions.AllowHardLinkCreation, |
||
DeleteEmptyDirectories ( string root, bool deleteRoot = false ) : void | ||
EnumerateDirectories ( string path, string searchPattern = "*.*", SearchOption searchOption = SearchOption.TopDirectoryOnly ) : IEnumerable |
||
EnumerateFiles ( string path, string searchPattern = "*.*", SearchOption searchOption = SearchOption.TopDirectoryOnly ) : IEnumerable |
||
Move ( string sourceFilePath, string destinationFilePath, OverwriteMode overwriteMode = OverwriteMode.AlwaysOverwrite, |
Method | Description | |
---|---|---|
SafeGetFileSystemEnumerable ( Func |
public static AreSameFile ( |
||
fileInfoA | ||
fileInfoB | ||
return | bool |
public static AreSameFile ( string filePathA, string filePathB ) : bool | ||
filePathA | string | |
filePathB | string | |
return | bool |
public static Copy ( Stream source, Stream destination, int bufferSize = DefaultBufferSize, |
||
source | Stream | |
destination | Stream | |
bufferSize | int | |
cancellationToken | ||
progressCallback | long>.Action | |
return | Task |
public static Copy ( string sourceFilePath, string destinationFilePath, OverwriteMode overwriteMode = OverwriteMode.AlwaysOverwrite, CopyOptions options = CopyOptions.AllowHardLinkCreation, |
||
sourceFilePath | string | |
destinationFilePath | string | |
overwriteMode | OverwriteMode | |
options | CopyOptions | |
cancellationToken | ||
progressCallback | long>.Action | |
return | Task |
public static DeleteEmptyDirectories ( string root, bool deleteRoot = false ) : void | ||
root | string | |
deleteRoot | bool | |
return | void |
public static EnumerateDirectories ( string path, string searchPattern = "*.*", SearchOption searchOption = SearchOption.TopDirectoryOnly ) : IEnumerable |
||
path | string | |
searchPattern | string | |
searchOption | SearchOption | |
return | IEnumerable |
public static EnumerateFiles ( string path, string searchPattern = "*.*", SearchOption searchOption = SearchOption.TopDirectoryOnly ) : IEnumerable |
||
path | string | |
searchPattern | string | |
searchOption | SearchOption | |
return | IEnumerable |
public static Move ( string sourceFilePath, string destinationFilePath, OverwriteMode overwriteMode = OverwriteMode.AlwaysOverwrite, |
||
sourceFilePath | string | |
destinationFilePath | string | |
overwriteMode | OverwriteMode | |
cancellationToken | ||
progressCallback | long>.Action | |
return | Task |