better-scanner
Advanced tools
Comparing version 1.2.1 to 1.3.0
var cpp = require('child-process-parser'); | ||
var BINARY = __dirname + '/bin/scanner'; | ||
exports.bin = __dirname + '/bin/scanner'; | ||
exports.scan = function (path, process, cb) { | ||
cpp([BINARY, path], '\n', function (line) { | ||
cpp([exports.bin, path], '\n', function (line) { | ||
// line follows specific format: inode space isDir space path | ||
@@ -8,0 +8,0 @@ var space = line.indexOf(' '); |
{ | ||
"name": "better-scanner", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "Fast way to scan a directory and get all of the inodes", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
3263