The path which you want to inspect
Optional
options: ScanOptionsAn object used as options of the function
Optional
onFile: CallbackAsync<Node>A function called when a file is added - has the tree object and its stat as parameters
Optional
onDir: CallbackAsync<Node>A function called when a dir is added - has the tree object and its stat as parameters
A promise to the directory tree as a Dree object
Returns in a promise the Directory Tree of a given path. This function is asynchronous.