C# Class SmartSync.GitDeploymentRepository

Inheritance: DeploymentRepository
Mostra file Open project: projectkudu/KuduCalf

Private Properties

Property Type Description
CommitFromSnapshotId LibGit2Sharp.Commit
FromTree IEnumerable
GetOrigin System.Uri
GetPreviousCommit LibGit2Sharp.Commit
LogCheckoutProgressUpdate void
LogCompletionUpdate int
LogTransferProgressUpdate int

Public Methods

Method Description
CommitWorkingDirectroy ( string comment ) : SnapshotId
CreateSnapshotFromFiles ( System.IO.FileInfo>.IEnumerable fileList, string comment ) : SnapshotId
FromToken ( string tok ) : SnapshotId
GetLatestSnapshotId ( ) : SnapshotId
GetPreviousSnapshotId ( SnapshotId snapshotId ) : SnapshotId
GetSnapshotInfo ( SnapshotId snapshotId ) : SnapshotInfo
GetSnapshotItems ( SnapshotId snapshotId ) : IEnumerable
GitDeploymentRepository ( DirectoryInfo dirInfo ) : System
GitDeploymentRepository ( DirectoryInfo dirInfo, Uri origin ) : System
Initialize ( ) : bool
ResetWorkingDirectoryTo ( SnapshotId id ) : void

Private Methods

Method Description
CommitFromSnapshotId ( SnapshotId id ) : Commit
FromTree ( string prefix, Tree tree, DateTimeOffset>.Func modTime ) : IEnumerable
GetOrigin ( ) : Uri
GetPreviousCommit ( Commit commit ) : Commit
LogCheckoutProgressUpdate ( string path, int completedSteps, int totalSteps ) : void
LogCompletionUpdate ( RemoteCompletionType remoteCompletionType ) : int
LogTransferProgressUpdate ( LibGit2Sharp.TransferProgress progress ) : int

Method Details

CommitWorkingDirectroy() public method

public CommitWorkingDirectroy ( string comment ) : SnapshotId
comment string
return SnapshotId

CreateSnapshotFromFiles() public method

public CreateSnapshotFromFiles ( System.IO.FileInfo>.IEnumerable fileList, string comment ) : SnapshotId
fileList System.IO.FileInfo>.IEnumerable
comment string
return SnapshotId

FromToken() public method

public FromToken ( string tok ) : SnapshotId
tok string
return SnapshotId

GetLatestSnapshotId() public method

public GetLatestSnapshotId ( ) : SnapshotId
return SnapshotId

GetPreviousSnapshotId() public method

public GetPreviousSnapshotId ( SnapshotId snapshotId ) : SnapshotId
snapshotId SnapshotId
return SnapshotId

GetSnapshotInfo() public method

public GetSnapshotInfo ( SnapshotId snapshotId ) : SnapshotInfo
snapshotId SnapshotId
return SnapshotInfo

GetSnapshotItems() public method

public GetSnapshotItems ( SnapshotId snapshotId ) : IEnumerable
snapshotId SnapshotId
return IEnumerable

GitDeploymentRepository() public method

public GitDeploymentRepository ( DirectoryInfo dirInfo ) : System
dirInfo System.IO.DirectoryInfo
return System

GitDeploymentRepository() public method

public GitDeploymentRepository ( DirectoryInfo dirInfo, Uri origin ) : System
dirInfo System.IO.DirectoryInfo
origin System.Uri
return System

Initialize() public method

public Initialize ( ) : bool
return bool

ResetWorkingDirectoryTo() public method

public ResetWorkingDirectoryTo ( SnapshotId id ) : void
id SnapshotId
return void