shift73k/assets_old/node_modules/glob-all/example/async.js

12 lines
161 B
JavaScript
Raw Normal View History

var glob = require('../');
glob([
'files/**',
'!files/x/**',
'files/x/z.txt'
], {
mark: true
}, function(err, files) {
console.log(err || files);
});