Class ReferenceCollection
Accessors for the Git references (branches, tags) in a repository.
Inheritance
System.Object
ReferenceCollection
Namespace: Dogged
Assembly: Dogged.dll
Syntax
public class ReferenceCollection : IEnumerable<Reference>
Methods
| Improve this Doc View SourceGetEnumerator()
Returns an enumerator that iterates through references.
Note that the returned references are
Declaration
public IEnumerator<Reference> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<Reference> | An enumerator of IndexEntry objects |
Lookup(String)
Lookup and return the reference as specified by the given name.
Declaration
public Reference Lookup(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The reference to lookup |
Returns
Type | Description |
---|---|
Reference | The reference specified by the given name |