A new start

This commit is contained in:
2018-11-24 14:43:59 +01:00
commit 3c32c8a37a
24054 changed files with 1376258 additions and 0 deletions

19
node_modules/vinyl-fs/lib/src/getStats.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
'use strict';
var through2 = require('through2');
var fs = require('graceful-fs');
function getStats() {
return through2.obj(fetchStats);
}
function fetchStats(file, enc, cb) {
fs.lstat(file.path, function (err, stat) {
if (stat) {
file.stat = stat;
}
cb(err, file);
});
}
module.exports = getStats;