Sha256: f5f8b9891dd16a0bc0256e588f8b0c01a7e7d15d5d2ce5090e71d89f99f198f9
Contents?: true
Size: 364 Bytes
Versions: 21
Compression:
Stored size: 364 Bytes
Contents
var lsr = require('ls-r'); lsr(process.argv[2]||'./',{maxDepth:500000,recursive:true},function(err,origPath,args){ if(err) { console.log('eww an error! ',err); return; } //console.log('hit'); var c = 0; args.forEach(function(stat){ if(stat.isFile()){ console.log(stat.path); c++; } }); console.log('found '+args.length+" regular files"); });
Version data entries
21 entries across 21 versions & 2 rubygems