Skip to content

findTree ​

Lookup a reference to one of the objects in a repository.

Signature ​

ts
class Repository {
  findTree(oid: string): Tree | null;
}

Parameters ​

  • oidrequired · string

    ID(SHA1) to lookup.

Returns ​

  • null | Tree

    If it does not exist, returns null .

Released under the MIT License.