Skip to content

toObject ​

Convert a tree entry to the object it points to.

Signature ​

ts
class TreeEntry {
  toObject(repo: Repository): GitObject;
}

Parameters ​

  • reporequired · Repository

    Repository which this tree entry belongs to.

Returns ​

  • GitObject

    Git object that pointed by the entry.

Released under the MIT License.