Interface treeBranch<T>

A type representing a branchpoint from a tree filepath operation.

Type Parameters

Hierarchy

  • treeBranch

Properties

Properties

children: null | treeBranch<T>[]

The child branches that can be found within this branch, if it is a directory. Otherwise, this is null.

depth: number

The number of branchpoints traversed thus far relative to the original filepath that called the tree operation.

filepath: T

The filepath representing this branchpoint.

Generated using TypeDoc