How to use the statAsync function from graceful-fs
Find comprehensive JavaScript graceful-fs.statAsync code examples handpicked from public code repositorys.
322 323 324 325 326 327 328 329 330 331
var file = new File(path) this.buckets.get(pattern.pattern).add(file) return Promise.all([ fs.statAsync(path), this._refreshing ]).spread(function (stat) { file.mtime = stat.mtime return self._preprocess(file)
0
0
1
+ 27 other calls in file
graceful-fs.promises is the most popular function in graceful-fs (1135 examples)