C# Class GitScc.RepositoryManager

Show file Open project: jzoss/Git-Source-Control-Provider

Public Methods

Method Description
Clear ( ) : void
GetGitRepository ( string path ) : string
GetGitRepositoryAsync ( string path ) : Task
GetRepositories ( ) : List
GetTrackerForPath ( string filename, bool setActiveTracker = false, bool createTracker = true ) : GitFileStatusTracker
GetTrackerForPathAsync ( string filename, bool setActiveTracker = false, bool createTracker = true ) : Task
IsGitRepository ( string path ) : bool
IsProjectInGitRepoitory ( string filename ) : bool
PauseUpdates ( string reason ) : void
SetSolutionTracker ( string solutionFilePath ) : System.Threading.Tasks.Task

Private Methods

Method Description
FireActiveTrackerBranchChangedEvent ( object sender, string name ) : void
FireActiveTrackerChangedEvent ( GitFileStatusTracker repository ) : void
FireFileStatusUpdateEvent ( object sender, GitScc.GitFilesStatusUpdateEventArgs e ) : void
FireFilesChangedEvent ( object sender, GitScc.GitFilesUpdateEventArgs e ) : void
FireOnCommitChangedEvent ( GitFileStatusTracker repository ) : void
FireSolutionTrackerBranchChangedEvent ( object sender, string name ) : void
Repo_FileStatusUpdate ( object sender, GitScc.GitFilesStatusUpdateEventArgs e ) : void
Repo_FilesChanged ( object sender, GitScc.GitFilesUpdateEventArgs e ) : void
Repo_OnCommitChanged ( object sender, string e ) : void
RepositoryManager ( ) : System
_activeTracker_BranchChanged ( object sender, string e ) : void
_solutionTracker_BranchChanged ( object sender, string e ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

GetGitRepository() public static method

public static GetGitRepository ( string path ) : string
path string
return string

GetGitRepositoryAsync() public static method

public static GetGitRepositoryAsync ( string path ) : Task
path string
return Task

GetRepositories() public method

public GetRepositories ( ) : List
return List

GetTrackerForPath() public method

public GetTrackerForPath ( string filename, bool setActiveTracker = false, bool createTracker = true ) : GitFileStatusTracker
filename string
setActiveTracker bool
createTracker bool
return GitFileStatusTracker

GetTrackerForPathAsync() public method

public GetTrackerForPathAsync ( string filename, bool setActiveTracker = false, bool createTracker = true ) : Task
filename string
setActiveTracker bool
createTracker bool
return Task

IsGitRepository() public static method

public static IsGitRepository ( string path ) : bool
path string
return bool

IsProjectInGitRepoitory() public method

public IsProjectInGitRepoitory ( string filename ) : bool
filename string
return bool

PauseUpdates() public method

public PauseUpdates ( string reason ) : void
reason string
return void

SetSolutionTracker() public method

public SetSolutionTracker ( string solutionFilePath ) : System.Threading.Tasks.Task
solutionFilePath string
return System.Threading.Tasks.Task