walk a file tree and return a list of files
$ npm install co-walk
var path = __dirname + '/app'
var files = yield walk(path, {
symlinks: true,
ignore: ['art/**', 'node_modules']
})
// -> ['/home/user/app/.gitignore', ...]
walk a file tree and return a list of files
path
: full path to folderopts
:symlinks
: follow symlinks and return origin path [false]ignore
: a list which folders and files you want to ignore, or a predicate function(filename, relPath, fullPath) => boolean
$ make test
MIT