Optional childrenOptional. An array of Dree objects, containing all the children of the node
Optional descendantsOptional. The number of descendants of the node. Returned only if the node is a directory and [[descendants]] option is specified
Optional extensionOptional. The extension (without dot) of the node. Returned only if the node is a file
Optional hashOptional. The hash of the node
Optional isOptional. True if the node is a directory and contains no files and no directories
A boolean with true value if the node is a symbolic link
The name of the node as a string
The absolute path of the node
The relative path from the root of the node
Optional sizeOptional. The size of the node, rounded to two decimals and appropriate unit
Optional sizeOptional. The size in bytes of the node
Optional statOptional. The fs.lstat or fs.fstat of the node
Values: Type.DIRECTORY or Type.FILE
Generated using TypeDoc
Interface of an object representing a Directory Tree