UNPKG

fs-iterator

Version:

A file system iterator with filter and asyncIterator iterafaces. Supports Node 0.10 and above

10 lines (9 loc) 297 B
import lstat from './lstat.js'; import realpath from './realpath.js'; function lstatReal(path, options, callback) { realpath(path, function realpathCallback(err, realpath) { if (err) return callback(err); lstat(realpath, options, callback); }); } export default lstatReal;