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

Version Path
ela-4.1.6 node_modules/walkdir/test/comparison/lsr.js
ela-4.1.5 node_modules/walkdir/test/comparison/lsr.js
ela-4.1.4 node_modules/walkdir/test/comparison/lsr.js
ela-4.1.3 node_modules/walkdir/test/comparison/lsr.js
ela-4.1.2 node_modules/walkdir/test/comparison/lsr.js
ela-4.1.1 node_modules/walkdir/test/comparison/lsr.js
ela-4.1.0 node_modules/walkdir/test/comparison/lsr.js
ela-4.0.0 node_modules/walkdir/test/comparison/lsr.js
ela-3.4.3 node_modules/walkdir/test/comparison/lsr.js
ela-3.4.2 node_modules/walkdir/test/comparison/lsr.js
ela-3.4.0 node_modules/walkdir/test/comparison/lsr.js
ela-3.3.1 node_modules/walkdir/test/comparison/lsr.js
ela-3.3.0 node_modules/walkdir/test/comparison/lsr.js
ela-3.2.0 node_modules/walkdir/test/comparison/lsr.js
ela-3.1.1 node_modules/walkdir/test/comparison/lsr.js
ela-3.1.0 node_modules/walkdir/test/comparison/lsr.js
ela-3.0.0 node_modules/walkdir/test/comparison/lsr.js
ela-2.0.0 node_modules/walkdir/test/comparison/lsr.js
ela-1.1.0 node_modules/walkdir/test/comparison/lsr.js
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/walkdir/test/comparison/lsr.js