bin/fileTree.js
function walkTree(directory, callback) {
    callback(directory);
    directory.directories.forEach(childDirectory => walkTree(childDirectory, callback));
}
function walkTree(directory, callback) {
    callback(directory);
    directory.directories.forEach(childDirectory => walkTree(childDirectory, callback));
}
function walkTree ( directory , callback ) { callback ( directory ) ; directory . directories . forEach ( childDirectory => walkTree ( childDirectory , callback ) ) ; }
Walk an entire directory tree recursively.
Walk an entire directory tree recursively .