C# Class LazyCopy.DriverClient.LazyCopyFileHelper

Contains helper methods to work with the LazyCopy reparse files.
Afficher le fichier Open project: aleksk/LazyCopy

Méthodes publiques

Méthode 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 méthode

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 .
Résultat void

GetReparseData() public static méthode

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.
Résultat LazyCopyFileData