C# Class withSIX.Sync.Core.Legacy.SixSync.RepositoryTools

Inheritance: IEnableLogging
Exibir arquivo Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
DowncaseDictionary ( string>.Dictionary dict ) : string>.Dictionary
GetGuid ( string path ) : string
GetNewPackPath ( string path, string folderName, string guid = null ) : string
GetRootedPath ( string folder ) : IAbsoluteDirectoryPath
HasGuid ( string guid, string path ) : bool
Pack ( IAbsoluteFilePath file, IAbsoluteFilePath dest = null, string archiveFormat = Repository.DefaultArchiveFormat ) : void
TryGetChecksum ( IAbsoluteFilePath file, string change = null ) : string
TryGetGuid ( string path ) : string
TryHasGuid ( string guid, string path ) : bool
UnpackFile ( IAbsoluteFilePath srcFile, IAbsoluteFilePath dstFile, IStatus status = null ) : void

Private Methods

Method Description
TryGetGuid2 ( string path ) : string

Method Details

DowncaseDictionary() public method

public DowncaseDictionary ( string>.Dictionary dict ) : string>.Dictionary
dict string>.Dictionary
return string>.Dictionary

GetGuid() public method

public GetGuid ( string path ) : string
path string
return string

GetNewPackPath() public method

public GetNewPackPath ( string path, string folderName, string guid = null ) : string
path string
folderName string
guid string
return string

GetRootedPath() public method

public GetRootedPath ( string folder ) : IAbsoluteDirectoryPath
folder string
return IAbsoluteDirectoryPath

HasGuid() public method

public HasGuid ( string guid, string path ) : bool
guid string
path string
return bool

Pack() public method

public Pack ( IAbsoluteFilePath file, IAbsoluteFilePath dest = null, string archiveFormat = Repository.DefaultArchiveFormat ) : void
file IAbsoluteFilePath
dest IAbsoluteFilePath
archiveFormat string
return void

TryGetChecksum() public method

public TryGetChecksum ( IAbsoluteFilePath file, string change = null ) : string
file IAbsoluteFilePath
change string
return string

TryGetGuid() public method

public TryGetGuid ( string path ) : string
path string
return string

TryHasGuid() public method

public TryHasGuid ( string guid, string path ) : bool
guid string
path string
return bool

UnpackFile() public method

public UnpackFile ( IAbsoluteFilePath srcFile, IAbsoluteFilePath dstFile, IStatus status = null ) : void
srcFile IAbsoluteFilePath
dstFile IAbsoluteFilePath
status IStatus
return void