C# Class DXVcs2Git.GitWrapper

Inheritance: IDisposable
Mostrar archivo Open project: Xarlot/DXVcs2Git

Public Methods

Method Description
CheckOut ( string branch ) : void
Commit ( string comment, User user, System.DateTime timeStamp, bool allowEmpty = true ) : void
Dispose ( ) : void
Fetch ( string remote = "", bool updateTags = false ) : void
FindCommit ( bool>.Func pred ) : GitCommit
GitInit ( string branch ) : void
GitWrapper ( string localPath, string remotePath, string branch, GitCredentials credentials ) : System
LFSPull ( ) : void
Merge ( string upstream, string targetBranch, string sourceBranch ) : void
Pull ( ) : void
PushEverything ( ) : void
Reset ( ) : void
Stage ( string path ) : void

Private Methods

Method Description
GetOriginName ( string name ) : string
GitClone ( string branch ) : void

Method Details

CheckOut() public method

public CheckOut ( string branch ) : void
branch string
return void

Commit() public method

public Commit ( string comment, User user, System.DateTime timeStamp, bool allowEmpty = true ) : void
comment string
user DXVcs2Git.Core.User
timeStamp System.DateTime
allowEmpty bool
return void

Dispose() public method

public Dispose ( ) : void
return void

Fetch() public method

public Fetch ( string remote = "", bool updateTags = false ) : void
remote string
updateTags bool
return void

FindCommit() public method

public FindCommit ( bool>.Func pred ) : GitCommit
pred bool>.Func
return GitCommit

GitInit() public method

public GitInit ( string branch ) : void
branch string
return void

GitWrapper() public method

public GitWrapper ( string localPath, string remotePath, string branch, GitCredentials credentials ) : System
localPath string
remotePath string
branch string
credentials GitCredentials
return System

LFSPull() public method

public LFSPull ( ) : void
return void

Merge() public method

public Merge ( string upstream, string targetBranch, string sourceBranch ) : void
upstream string
targetBranch string
sourceBranch string
return void

Pull() public method

public Pull ( ) : void
return void

PushEverything() public method

public PushEverything ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

Stage() public method

public Stage ( string path ) : void
path string
return void