Optional type describing the shape of the tree structure used in this traversal.
OptionaldirThe parent directory node in the subtree.
Available during onSubTree hook.
The absolute path of the directory containing this file. Available in all hooks.
The name of the file or directory (without path).
The current node in the subtree associated with this file.
Available during onDirStats and onFileStats hooks.
The absolute path to this file or directory.
The Node.js fs.Stats object for this file or directory.
Available during onDirStats and onFileStats hooks.
Represents metadata for a file or directory within the subtree traversal.