C# Class GitSharp.AbstractCommand

Abstract base class of all git commands. It provides basic infrastructure
Inheritance: IGitCommand
Afficher le fichier Open project: stschake/GitSharp

Protected Properties

Свойство Type Description
_gitDirectory string

Méthodes publiques

Méthode Description
Execute ( ) : void

Execute the git command.

FindGitDirectory ( string rootDirectory, bool recursive, bool isBare ) : string

Performs upward recursive lookup to return git directory. Honors the environment variable GIT_DIR.

Méthodes protégées

Méthode Description
AbbreviateRef ( String dst, bool abbreviateRemote ) : string

Abbreviates a ref-name, used in internal output

Method Details

AbbreviateRef() protected méthode

Abbreviates a ref-name, used in internal output
protected AbbreviateRef ( String dst, bool abbreviateRemote ) : string
dst String long ref
abbreviateRemote bool abbreviate as remote
Résultat string

Execute() public abstract méthode

Execute the git command.
public abstract Execute ( ) : void
Résultat void

FindGitDirectory() public static méthode

Performs upward recursive lookup to return git directory. Honors the environment variable GIT_DIR.
public static FindGitDirectory ( string rootDirectory, bool recursive, bool isBare ) : string
rootDirectory string
recursive bool
isBare bool
Résultat string

Property Details

_gitDirectory protected_oe property

protected string _gitDirectory
Résultat string