Skip to content

treeId

Get the id of the tree pointed to by this commit.

No attempts are made to fetch an object from the ODB.

Signature

ts
class Commit {
  treeId(): string;
}

Returns

  • string

    Get the id of the tree pointed to by a commit.

Released under the MIT License.