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

Exibir arquivo Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
CustomRepo ( Uri uri ) : System
ExistsAndIsRightVersion ( string name, IAbsoluteDirectoryPath destination ) : bool
GetMod ( string name ) : SixRepoModDto>.KeyValuePair
GetMod ( string name, IAbsoluteDirectoryPath destination, IAbsoluteDirectoryPath packPath, StatusRepo status, bool force = false ) : System.Threading.Tasks.Task
GetRepoUri ( Uri r ) : Uri
HasMod ( string name ) : bool
Load ( IStringDownloader downloader, Uri uri ) : System.Threading.Tasks.Task

Private Methods

Method Description
GetOpts ( IAbsoluteDirectoryPath packPath, StatusRepo status, SixRepoModDto>.KeyValuePair mod ) : Action
GetRepo ( IAbsoluteDirectoryPath rsyncDir, IAbsoluteDirectoryPath folder, Action config ) : Repository
IsRightVersion ( IAbsoluteDirectoryPath rsyncDir, SixRepoModDto>.KeyValuePair mod ) : bool
TryReadRepoFile ( IAbsoluteFilePath path ) : RepoVersion

Method Details

CustomRepo() public method

public CustomRepo ( Uri uri ) : System
uri System.Uri
return System

ExistsAndIsRightVersion() public method

public ExistsAndIsRightVersion ( string name, IAbsoluteDirectoryPath destination ) : bool
name string
destination IAbsoluteDirectoryPath
return bool

GetMod() public method

public GetMod ( string name ) : SixRepoModDto>.KeyValuePair
name string
return SixRepoModDto>.KeyValuePair

GetMod() public method

public GetMod ( string name, IAbsoluteDirectoryPath destination, IAbsoluteDirectoryPath packPath, StatusRepo status, bool force = false ) : System.Threading.Tasks.Task
name string
destination IAbsoluteDirectoryPath
packPath IAbsoluteDirectoryPath
status StatusRepo
force bool
return System.Threading.Tasks.Task

GetRepoUri() public static method

public static GetRepoUri ( Uri r ) : Uri
r System.Uri
return System.Uri

HasMod() public method

public HasMod ( string name ) : bool
name string
return bool

Load() public method

public Load ( IStringDownloader downloader, Uri uri ) : System.Threading.Tasks.Task
downloader IStringDownloader
uri System.Uri
return System.Threading.Tasks.Task