Callback used by [[scanAsync]] when a file or dir is encountered. Note that it can extend the node that will be returned in the directory tree.
The type of the tree object, which can be extended and changed by the onFile and onDir functions.
Callback used by [[scanAsync]] when a file or dir is encountered. Note that it can extend the node that will be returned in the directory tree.