soldair / node-walkdir

Walk a directory tree emitting events based on the contents. API compatable with node-findit. Walk a tree of any depth. Fast! Handles permission errors. Stoppable. windows support. Pull requests are awesome. watchers are appreciated.
MIT License
131 stars 22 forks source link

add option to not recurse #1

Closed tjfontaine closed 12 years ago

tjfontaine commented 12 years ago

add an option to not recurse the whole tree.

I was going to add a mechanism to specify the maximum depth, but that change was more invasive.

soldair commented 12 years ago

Looks pretty good any interest in adding a test?