C# Класс withSIX.Sync.Core.Repositories.RepositoryFactory

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

HandlePackageRequirements() публичный Метод

public HandlePackageRequirements ( IAbsoluteDirectoryPath workPath, Repository repository ) : void
workPath IAbsoluteDirectoryPath
repository Repository
Результат void

HandlePathRequirements() публичный Метод

public HandlePathRequirements ( IAbsoluteDirectoryPath workPath, Repository repository ) : void
workPath IAbsoluteDirectoryPath
repository Repository
Результат void

HandleRepositoryRequirements() публичный Метод

public HandleRepositoryRequirements ( IAbsoluteDirectoryPath repoPath ) : void
repoPath IAbsoluteDirectoryPath
Результат void

Init() публичный Метод

public Init ( IAbsoluteDirectoryPath directory, RepositoryOperationMode mode = null ) : Repository
directory IAbsoluteDirectoryPath
mode RepositoryOperationMode
Результат Repository

IsEmpty() публичный статический Метод

public static IsEmpty ( IAbsoluteDirectoryPath directory ) : bool
directory IAbsoluteDirectoryPath
Результат bool

OpenRepositoryWithRetry() публичный Метод

public OpenRepositoryWithRetry ( IAbsoluteDirectoryPath path, bool createWhenNotExisting = false, System.Action failAction = null ) : Repository
path IAbsoluteDirectoryPath
createWhenNotExisting bool
failAction System.Action
Результат Repository