Show / Hide Table of Contents

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 Source

Lookup(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

| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX