Skip to content

Instantly share code, notes, and snippets.

@isaacs isaacs/gist:3691353
Created Sep 10, 2012

Embed
What would you like to do?
$ find .
.
./.gitignore
./bar
./foo
./foo/bar
./package.json
./README.md
$ cat .gitignore
bar
!foo/bar
$ node -e "var P = require('fstream-npm');P({path: '.'}).on('child', function (c) { console.log(c._path) })"
/Users/isaacs/dev/js/testpkg/package.json
/Users/isaacs/dev/js/testpkg/.gitignore
/Users/isaacs/dev/js/testpkg/README.md
/Users/isaacs/dev/js/testpkg/foo/bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.