C# Class GitSystem, UnityGit

Inheritance: Editor
Mostrar archivo Open project: NateWardawg/UnityGit Class Usage Examples

Public Properties

Property Type Description
currentRemote string

Public Methods

Method Description
CheckoutBranch ( string branchName ) : void
Commit ( string commitMessage, string addFiles, string removeFiles ) : void
CommitAll ( ) : void
ConformModifyListToDeletionList ( string modifiedFiles, string deletedFiles ) : string[]
CreateBranch ( string branchName ) : void
CreateBranch ( string branchName, bool checkoutAfterCreation ) : void
DeleteBranch ( string branchName, bool mustBeMerged ) : void
DoesBranchExist ( string newBranchName ) : bool
Fetch ( string remoteName ) : void
GC ( ) : void
GetBranchList ( ) : string[]
GetBranchList ( bool includeCurrent ) : string[]
GetCurrentBranch ( ) : string
GetDeletedFilesList ( ) : string[]
GetDeletedFilesList ( bool filterUsingSelection ) : string[]
GetModifiedFilesList ( ) : string[]
GetModifiedFilesList ( bool filterUsingSelection ) : string[]
GetRemotesList ( ) : string[]
GetUnmergedFilesList ( ) : string[]
GetUnmergedFilesList ( bool filterUsingSelection ) : string[]
GetUntrackedFilesList ( ) : string[]
GetUntrackedFilesList ( bool filterUsingSelection ) : string[]
InitNewRepo ( ) : void
IsRemoteLocal ( string remoteName ) : bool
MergeBranch ( string branchName ) : void
PostPull ( ) : void
Pull ( string remoteName ) : void
Pull ( string remoteName, CommandOutput outputDelegate ) : void
Push ( string remoteName, CommandOutput outputDelegate ) : void
ResolveConflict ( string file, bool useMine ) : void
RunGitCmd ( string command ) : string
RunGitCmd ( string command, CommandOutput outputDelegate ) : string
RunGitCmd ( string command, bool includeGitDir ) : string
RunGitCmd ( string command, bool includeGitDir, CommandOutput outputDelegate ) : string

Private Methods

Method Description
FilterUsingSelection ( string files ) : string[]
GetGitExePath ( ) : string
GetRepoPath ( ) : string
RemoveEmptyListEntries ( string listString ) : string[]
ThreadedUpdateProcess ( object outputDelegateObj ) : void

Method Details

CheckoutBranch() public static method

public static CheckoutBranch ( string branchName ) : void
branchName string
return void

Commit() public static method

public static Commit ( string commitMessage, string addFiles, string removeFiles ) : void
commitMessage string
addFiles string
removeFiles string
return void

CommitAll() public static method

public static CommitAll ( ) : void
return void

ConformModifyListToDeletionList() public static method

public static ConformModifyListToDeletionList ( string modifiedFiles, string deletedFiles ) : string[]
modifiedFiles string
deletedFiles string
return string[]

CreateBranch() public static method

public static CreateBranch ( string branchName ) : void
branchName string
return void

CreateBranch() public static method

public static CreateBranch ( string branchName, bool checkoutAfterCreation ) : void
branchName string
checkoutAfterCreation bool
return void

DeleteBranch() public static method

public static DeleteBranch ( string branchName, bool mustBeMerged ) : void
branchName string
mustBeMerged bool
return void

DoesBranchExist() public static method

public static DoesBranchExist ( string newBranchName ) : bool
newBranchName string
return bool

Fetch() public static method

public static Fetch ( string remoteName ) : void
remoteName string
return void

GC() public static method

public static GC ( ) : void
return void

GetBranchList() public static method

public static GetBranchList ( ) : string[]
return string[]

GetBranchList() public static method

public static GetBranchList ( bool includeCurrent ) : string[]
includeCurrent bool
return string[]

GetCurrentBranch() public static method

public static GetCurrentBranch ( ) : string
return string

GetDeletedFilesList() public static method

public static GetDeletedFilesList ( ) : string[]
return string[]

GetDeletedFilesList() public static method

public static GetDeletedFilesList ( bool filterUsingSelection ) : string[]
filterUsingSelection bool
return string[]

GetModifiedFilesList() public static method

public static GetModifiedFilesList ( ) : string[]
return string[]

GetModifiedFilesList() public static method

public static GetModifiedFilesList ( bool filterUsingSelection ) : string[]
filterUsingSelection bool
return string[]

GetRemotesList() public static method

public static GetRemotesList ( ) : string[]
return string[]

GetUnmergedFilesList() public static method

public static GetUnmergedFilesList ( ) : string[]
return string[]

GetUnmergedFilesList() public static method

public static GetUnmergedFilesList ( bool filterUsingSelection ) : string[]
filterUsingSelection bool
return string[]

GetUntrackedFilesList() public static method

public static GetUntrackedFilesList ( ) : string[]
return string[]

GetUntrackedFilesList() public static method

public static GetUntrackedFilesList ( bool filterUsingSelection ) : string[]
filterUsingSelection bool
return string[]

InitNewRepo() public static method

public static InitNewRepo ( ) : void
return void

IsRemoteLocal() public static method

public static IsRemoteLocal ( string remoteName ) : bool
remoteName string
return bool

MergeBranch() public static method

public static MergeBranch ( string branchName ) : void
branchName string
return void

PostPull() public static method

public static PostPull ( ) : void
return void

Pull() public static method

public static Pull ( string remoteName ) : void
remoteName string
return void

Pull() public static method

public static Pull ( string remoteName, CommandOutput outputDelegate ) : void
remoteName string
outputDelegate CommandOutput
return void

Push() public static method

public static Push ( string remoteName, CommandOutput outputDelegate ) : void
remoteName string
outputDelegate CommandOutput
return void

ResolveConflict() public static method

public static ResolveConflict ( string file, bool useMine ) : void
file string
useMine bool
return void

RunGitCmd() public static method

public static RunGitCmd ( string command ) : string
command string
return string

RunGitCmd() public static method

public static RunGitCmd ( string command, CommandOutput outputDelegate ) : string
command string
outputDelegate CommandOutput
return string

RunGitCmd() public static method

public static RunGitCmd ( string command, bool includeGitDir ) : string
command string
includeGitDir bool
return string

RunGitCmd() public static method

public static RunGitCmd ( string command, bool includeGitDir, CommandOutput outputDelegate ) : string
command string
includeGitDir bool
outputDelegate CommandOutput
return string

Property Details

currentRemote public_oe static_oe property

public static string currentRemote
return string