Lines Matching full:stats
63 const kStats = Symbol('stats');
201 constructor(name, stats, path, filepath) { argument
203 this[kStats] = stats;
267 lazyLoadFs().lstat(filepath, (err, stats) => {
272 names[idx] = new DirentFromStats(name, stats, path, filepath);
303 lazyLoadFs().lstat(filepath, (err, stats) => {
308 callback(null, new DirentFromStats(name, stats, path, filepath));
315 const stats = lazyLoadFs().lstatSync(filepath);
317 return new DirentFromStats(name, stats, path, callback === true ? filepath : path);
411 // Constructor for file stats.
509 function Stats(dev, mode, nlink, uid, gid, rdev, blksize, class
524 ObjectSetPrototypeOf(Stats.prototype, StatsBase.prototype);
525 ObjectSetPrototypeOf(Stats, StatsBase);
529 Stats.prototype.isFile = StatsBase.prototype.isFile;
531 Stats.prototype._checkModeProperty = function(property) {
540 * @param {Float64Array | BigInt64Array} stats
542 * @returns {BigIntStats | Stats}
544 function getStatsFromBinding(stats, offset = 0) { argument
545 if (isBigInt64Array(stats)) {
547 stats[0 + offset], stats[1 + offset], stats[2 + offset],
548 stats[3 + offset], stats[4 + offset], stats[5 + offset],
549 stats[6 + offset], stats[7 + offset], stats[8 + offset],
550 stats[9 + offset],
551 nsFromTimeSpecBigInt(stats[10 + offset], stats[11 + offset]),
552 nsFromTimeSpecBigInt(stats[12 + offset], stats[13 + offset]),
553 nsFromTimeSpecBigInt(stats[14 + offset], stats[15 + offset]),
554 nsFromTimeSpecBigInt(stats[16 + offset], stats[17 + offset]),
557 return new Stats(
558 stats[0 + offset], stats[1 + offset], stats[2 + offset],
559 stats[3 + offset], stats[4 + offset], stats[5 + offset],
560 stats[6 + offset], stats[7 + offset], stats[8 + offset],
561 stats[9 + offset],
562 msFromTimeSpec(stats[10 + offset], stats[11 + offset]),
563 msFromTimeSpec(stats[12 + offset], stats[13 + offset]),
564 msFromTimeSpec(stats[14 + offset], stats[15 + offset]),
565 msFromTimeSpec(stats[16 + offset], stats[17 + offset]),
581 function getStatFsFromBinding(stats) { argument
583 stats[0], stats[1], stats[2], stats[3], stats[4], stats[5], stats[6],
802 lazyLoadFs().lstat(path, (err, stats) => {
810 if (expectDir && !stats.isDirectory()) {
814 if (stats.isDirectory() && !options.recursive) {
971 Stats, property