C# Class GitSharp.Core.Ref

Pairing of a name and the ObjectId it currently has. A ref in Git is (more or less) a variable that holds a single object identifier. The object identifier can be any valid Git object (blob, tree, commit, annotated tag, ...). The ref name has the attributes of the ref that was asked for as well as the ref it was resolved to for symbolic refs plus the object id it points to and (for tags) the peeled target object id, i.e. the tag resolved recursively until a non-tag object is referenced.
Afficher le fichier Open project: stschake/GitSharp Class Usage Examples

Méthodes publiques

Méthode Description
Ref ( GitSharp.Core.Storage storage, string refName, ObjectId id )

Create a new ref pairing.

Ref ( GitSharp.Core.Storage storage, string refName, ObjectId id, ObjectId peeledObjectId, bool peeled )

Create a new ref pairing.

Ref ( GitSharp.Core.Storage storage, string origName, string refName, ObjectId id )

Create a new ref pairing.

Ref ( GitSharp.Core.Storage storage, string origName, string refName, ObjectId id, ObjectId peeledObjectId, bool peeled )

Create a new ref pairing.

ToString ( ) : string

Method Details

Ref() public méthode

Create a new ref pairing.
public Ref ( GitSharp.Core.Storage storage, string refName, ObjectId id )
storage GitSharp.Core.Storage method used to store this ref.
refName string name of this ref.
id ObjectId /// Current value of the ref. May be null to indicate a ref that /// does not exist yet. ///

Ref() public méthode

Create a new ref pairing.
public Ref ( GitSharp.Core.Storage storage, string refName, ObjectId id, ObjectId peeledObjectId, bool peeled )
storage GitSharp.Core.Storage method used to store this ref.
refName string name of this ref.
id ObjectId /// Current value of the ref. May be null to indicate a ref that /// does not exist yet. ///
peeledObjectId ObjectId /// Peeled value of the ref's tag. May be null if this is not a /// tag or not yet peeled (in which case the next parameter should be null) ///
peeled bool /// true if represents a the peeled value of the object ///

Ref() public méthode

Create a new ref pairing.
public Ref ( GitSharp.Core.Storage storage, string origName, string refName, ObjectId id )
storage GitSharp.Core.Storage method used to store this ref.
origName string The name used to resolve this ref
refName string name of this ref.
id ObjectId /// Current value of the ref. May be null to indicate a ref that /// does not exist yet. ///

Ref() public méthode

Create a new ref pairing.
public Ref ( GitSharp.Core.Storage storage, string origName, string refName, ObjectId id, ObjectId peeledObjectId, bool peeled )
storage GitSharp.Core.Storage method used to store this ref.
origName string The name used to resolve this ref
refName string name of this ref.
id ObjectId /// Current value of the ref. May be null to indicate a ref that /// does not exist yet. ///
peeledObjectId ObjectId /// Peeled value of the ref's tag. May be null if this is not a /// tag or not yet peeled (in which case the next parameter should be null) ///
peeled bool /// true if represents a the peeled value of the object ///

ToString() public méthode

public ToString ( ) : string
Résultat string