C# Class withSIX.Sync.Core.Repositories.RepositoryFactory

Afficher le fichier Open project: SIXNetworks/withSIX.Desktop

Méthodes publiques

Méthode Description
HandlePackageRequirements ( IAbsoluteDirectoryPath workPath, Repository repository ) : void
HandlePathRequirements ( IAbsoluteDirectoryPath workPath, Repository repository ) : void
HandleRepositoryRequirements ( IAbsoluteDirectoryPath repoPath ) : void
Init ( IAbsoluteDirectoryPath directory, RepositoryOperationMode mode = null ) : Repository
IsEmpty ( IAbsoluteDirectoryPath directory ) : bool
OpenRepositoryWithRetry ( IAbsoluteDirectoryPath path, bool createWhenNotExisting = false, System.Action failAction = null ) : Repository

Private Methods

Méthode Description
CheckFileClosed ( string path ) : bool
ConfirmEmpty ( IAbsoluteDirectoryPath directory ) : void
ConfirmMultiPackagePath ( IAbsoluteDirectoryPath workPath, Repository repository ) : void
ConfirmNotRootPath ( IAbsoluteDirectoryPath path ) : void
ConfirmNotRootedInAnotherRepository ( IAbsoluteDirectoryPath repoPath ) : void
ConfirmSinglePackagePath ( IAbsoluteDirectoryPath workPath, Repository repository ) : void
ConfirmWorkingFolderNotRootedInRepository ( IAbsoluteDirectoryPath workPath, Repository repository ) : void
ShouldContinueChecking ( EventWaitHandle autoResetEvent, string pathS ) : bool
UnlockTimer ( IAbsoluteFilePath path, EventWaitHandle autoResetEvent ) : Timer

Method Details

HandlePackageRequirements() public méthode

public HandlePackageRequirements ( IAbsoluteDirectoryPath workPath, Repository repository ) : void
workPath IAbsoluteDirectoryPath
repository Repository
Résultat void

HandlePathRequirements() public méthode

public HandlePathRequirements ( IAbsoluteDirectoryPath workPath, Repository repository ) : void
workPath IAbsoluteDirectoryPath
repository Repository
Résultat void

HandleRepositoryRequirements() public méthode

public HandleRepositoryRequirements ( IAbsoluteDirectoryPath repoPath ) : void
repoPath IAbsoluteDirectoryPath
Résultat void

Init() public méthode

public Init ( IAbsoluteDirectoryPath directory, RepositoryOperationMode mode = null ) : Repository
directory IAbsoluteDirectoryPath
mode RepositoryOperationMode
Résultat Repository

IsEmpty() public static méthode

public static IsEmpty ( IAbsoluteDirectoryPath directory ) : bool
directory IAbsoluteDirectoryPath
Résultat bool

OpenRepositoryWithRetry() public méthode

public OpenRepositoryWithRetry ( IAbsoluteDirectoryPath path, bool createWhenNotExisting = false, System.Action failAction = null ) : Repository
path IAbsoluteDirectoryPath
createWhenNotExisting bool
failAction System.Action
Résultat Repository