C# Class Rubberduck.SourceControl.SourceControlProviderBase

Inheritance: ISourceControlProvider
Show file Open project: retailcoder/Rubberduck

Protected Properties

Property Type Description
Project VBProject

Public Methods

Method Description
AddFile ( string filePath ) : void
Checkout ( string branch ) : void
Clone ( string remotePathOrUrl, string workingDirectory ) : IRepository
Commit ( string message ) : void
CreateBranch ( string branch ) : void
CreateBranch ( string sourceBranch, string branch ) : void
DeleteBranch ( string branch ) : void
Fetch ( string remoteName ) : void
Init ( string directory, bool bare = false ) : IRepository
InitVBAProject ( string directory ) : IRepository
Merge ( string sourceBranch, string destinationBranch ) : void
Publish ( string branch ) : void
Pull ( ) : void
Push ( ) : void
RemoveFile ( string filePath ) : void
Revert ( ) : void
Stage ( IEnumerable filePaths ) : void
Stage ( string filePath ) : void
Status ( ) : IEnumerable
Undo ( string filePath ) : void
Unpublish ( string branch ) : void

Protected Methods

Method Description
GetProjectNameFromDirectory ( string directory ) : string
SourceControlProviderBase ( VBProject project ) : System
SourceControlProviderBase ( VBProject project, IRepository repository, ICodePaneWrapperFactory wrapperFactory ) : System

Private Methods

Method Description
Refresh ( ) : void

Method Details

AddFile() public abstract method

public abstract AddFile ( string filePath ) : void
filePath string
return void

Checkout() public method

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

Clone() public abstract method

public abstract Clone ( string remotePathOrUrl, string workingDirectory ) : IRepository
remotePathOrUrl string
workingDirectory string
return IRepository

Commit() public abstract method

public abstract Commit ( string message ) : void
message string
return void

CreateBranch() public abstract method

public abstract CreateBranch ( string branch ) : void
branch string
return void

CreateBranch() public method

public CreateBranch ( string sourceBranch, string branch ) : void
sourceBranch string
branch string
return void

DeleteBranch() public abstract method

public abstract DeleteBranch ( string branch ) : void
branch string
return void

Fetch() public abstract method

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

GetProjectNameFromDirectory() protected method

protected GetProjectNameFromDirectory ( string directory ) : string
directory string
return string

Init() public abstract method

public abstract Init ( string directory, bool bare = false ) : IRepository
directory string
bare bool
return IRepository

InitVBAProject() public method

public InitVBAProject ( string directory ) : IRepository
directory string
return IRepository

Merge() public method

public Merge ( string sourceBranch, string destinationBranch ) : void
sourceBranch string
destinationBranch string
return void

Publish() public abstract method

public abstract Publish ( string branch ) : void
branch string
return void

Pull() public method

public Pull ( ) : void
return void

Push() public abstract method

public abstract Push ( ) : void
return void

RemoveFile() public abstract method

public abstract RemoveFile ( string filePath ) : void
filePath string
return void

Revert() public method

public Revert ( ) : void
return void

SourceControlProviderBase() protected method

protected SourceControlProviderBase ( VBProject project ) : System
project VBProject
return System

SourceControlProviderBase() protected method

protected SourceControlProviderBase ( VBProject project, IRepository repository, ICodePaneWrapperFactory wrapperFactory ) : System
project VBProject
repository IRepository
wrapperFactory ICodePaneWrapperFactory
return System

Stage() public method

public Stage ( IEnumerable filePaths ) : void
filePaths IEnumerable
return void

Stage() public method

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

Status() public method

public Status ( ) : IEnumerable
return IEnumerable

Undo() public method

public Undo ( string filePath ) : void
filePath string
return void

Unpublish() public abstract method

public abstract Unpublish ( string branch ) : void
branch string
return void

Property Details

Project protected property

protected VBProject Project
return VBProject