C# Class LazyCopy.DriverClient.LazyCopyFileHelper

Contains helper methods to work with the LazyCopy reparse files.
Show file Open project: aleksk/LazyCopy

Public Methods

Method Description
CreateLazyCopyFile ( string path, LazyCopyFileData fileData ) : void

Creates a new LazyCopy file.

GetReparseData ( string path ) : LazyCopyFileData

Gets the LazyCopy reparse data from the path given.

Method Details

CreateLazyCopyFile() public static method

Creates a new LazyCopy file.
/// is or empty. /// -or- /// is . /// -or- /// contains or empty file path. /// contains negative file size. File cannot be created. Reparse point data cannot be set.
public static CreateLazyCopyFile ( string path, LazyCopyFileData fileData ) : void
path string Path to the reparse point to get data from.
fileData LazyCopyFileData Reparse file data to be set for the .
return void

GetReparseData() public static method

Gets the LazyCopy reparse data from the path given.
is or empty. File cannot be opened. Reparse point data cannot be retrieved.
public static GetReparseData ( string path ) : LazyCopyFileData
path string Path to the file to get the reparse data from.
return LazyCopyFileData