C# Class GitCommands.GitRef

Inheritance: IGitRef
Afficher le fichier Open project: pmiossec/gitextensions Class Usage Examples

Méthodes publiques

Свойство Type Description
RefsBisectPrefix string
RefsHeadsPrefix string
RefsRemotesPrefix string
RefsTagsPrefix string
TagDereferenceSuffix string

Méthodes publiques

Méthode Description
CreateBranchRef ( GitModule module, string guid, string name ) : GitRef
GetAmbiguousRefNames ( IEnumerable refs ) : ISet
GetMergeWith ( ISettingsValueGetter configFile ) : string

This method is a faster than the property above. The property reads the config file every time it is accessed. This method accepts a configfile what makes it faster when loading the revisiongraph.

GetTrackingRemote ( ISettingsValueGetter configFile ) : string

This method is a faster than the property above. The property reads the config file every time it is accessed. This method accepts a config file what makes it faster when loading the revision graph.

GitRef ( IGitModule module, string guid, string completeName ) : System
GitRef ( IGitModule module, string guid, string completeName, string remote ) : System
NoHead ( GitModule module ) : GitRef
RemoteSettingName ( string branch ) : string

Gets the setting name for a branch's remote.

ToString ( ) : string

Private Methods

Méthode Description
ParseName ( ) : void

Method Details

CreateBranchRef() public static méthode

public static CreateBranchRef ( GitModule module, string guid, string name ) : GitRef
module GitModule
guid string
name string
Résultat GitRef

GetAmbiguousRefNames() public static méthode

public static GetAmbiguousRefNames ( IEnumerable refs ) : ISet
refs IEnumerable
Résultat ISet

GetMergeWith() public méthode

This method is a faster than the property above. The property reads the config file every time it is accessed. This method accepts a configfile what makes it faster when loading the revisiongraph.
public GetMergeWith ( ISettingsValueGetter configFile ) : string
configFile ISettingsValueGetter
Résultat string

GetTrackingRemote() public méthode

This method is a faster than the property above. The property reads the config file every time it is accessed. This method accepts a config file what makes it faster when loading the revision graph.
public GetTrackingRemote ( ISettingsValueGetter configFile ) : string
configFile ISettingsValueGetter
Résultat string

GitRef() public méthode

public GitRef ( IGitModule module, string guid, string completeName ) : System
module IGitModule
guid string
completeName string
Résultat System

GitRef() public méthode

public GitRef ( IGitModule module, string guid, string completeName, string remote ) : System
module IGitModule
guid string
completeName string
remote string
Résultat System

NoHead() public static méthode

public static NoHead ( GitModule module ) : GitRef
module GitModule
Résultat GitRef

RemoteSettingName() public static méthode

Gets the setting name for a branch's remote.
public static RemoteSettingName ( string branch ) : string
branch string
Résultat string

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

RefsBisectPrefix public_oe static_oe property

"refs/bisect/"
public static string RefsBisectPrefix
Résultat string

RefsHeadsPrefix public_oe static_oe property

"refs/heads/"
public static string RefsHeadsPrefix
Résultat string

RefsRemotesPrefix public_oe static_oe property

"refs/remotes/"
public static string RefsRemotesPrefix
Résultat string

RefsTagsPrefix public_oe static_oe property

"refs/tags/"
public static string RefsTagsPrefix
Résultat string

TagDereferenceSuffix public_oe static_oe property

"^{}"
public static string TagDereferenceSuffix
Résultat string