Class ObjectCollection
Accessors for the Git objects (commits, trees, blobs, tags, etc) in a repository.
Inheritance
System.Object
ObjectCollection
Namespace: Dogged
Assembly: Dogged.dll
Syntax
public class ObjectCollection : object
Methods
| Improve this Doc View SourceLookup(ObjectId)
Lookup and return the git object in the repository as specified by the given ID.
Declaration
public GitObject Lookup(ObjectId id)
Parameters
Type | Name | Description |
---|---|---|
ObjectId | id | The object id to lookup |
Returns
Type | Description |
---|---|
GitObject | The Git object specified by the given ID |
Lookup<T>(ObjectId)
Lookup and return the git object in the repository as specified by the given ID.
Declaration
public T Lookup<T>(ObjectId id)
where T : GitObject
Parameters
Type | Name | Description |
---|---|---|
ObjectId | id | The object id to lookup |
Returns
Type | Description |
---|---|
T | The Git object specified by the given ID |
Type Parameters
Name | Description |
---|---|
T |