C# Class LazyCopy.Utilities.FileCopyHelper

This class contains helper methods for copying files.
Show file Open project: aleksk/LazyCopy Class Usage Examples

Public Methods

Method Description
CopyFile ( LongPath.LongPathFileInfo sourceFileInfo, LongPath.LongPathFileInfo targetFileInfo ) : bool

Copies the sourceFileInfo to the targetFileInfo.

CopyFile ( string sourceFile, string targetFile ) : bool

Copies the sourceFile to the targetFile.

Method Details

CopyFile() public static method

Copies the sourceFileInfo to the targetFileInfo.
or is . does not exist.
public static CopyFile ( LongPath.LongPathFileInfo sourceFileInfo, LongPath.LongPathFileInfo targetFileInfo ) : bool
sourceFileInfo LongPath.LongPathFileInfo Source file to be copied.
targetFileInfo LongPath.LongPathFileInfo Target file.
return bool

CopyFile() public static method

Copies the sourceFile to the targetFile.
or is or empty. does not exist.
public static CopyFile ( string sourceFile, string targetFile ) : bool
sourceFile string Source file to be copied.
targetFile string Target file.
return bool