Skip to content

id

Get the id (SHA1) of a repository object.

Signature

ts
class Tree {
  id(): string;
}

Returns

  • string

    ID(SHA1) of a repository object.

Released under the MIT License.