git://repos.xcallymotion.com
/
motion2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Built motion from commit 6a09e18b.|2.6.11
[motion2.git]
/
legacy-libs
/
walkdir
/
test
/
comparison
/
findittest.js
1
var findit = require('findit');
2
3
var find = findit.find(process.argv[2]||'./');
4
5
var count = 0;
6
7
find.on('file',function(path,stat){
8
count++;
9
process.stdout.write(path+"\n");
10
});
11
12
find.on('end',function(){
13
console.log('found '+count+' regular files');
14
});