fs-walk.js/test/test-walk.js

15 lines
225 B
JavaScript
Raw Normal View History

2012-06-06 19:19:44 +00:00
(function () {
"use strict";
2013-06-23 06:19:24 +00:00
var walk = require('../lib/walk').walk
2012-06-06 19:19:44 +00:00
, walker
;
walker = walk('./');
walker.on('file', function (root, stat, next) {
console.log(root, stat.name);
next();
});
}());