Skip to content

name ​

Get the filename of a tree entry.

Signature ​

ts
class TreeEntry {
  name(): string;
}

Returns ​

  • string

    The filename of a tree entry.

Errors ​

  • Error

    Throws error if the name is not valid utf-8.

Released under the MIT License.