index.js
function modifyStatsObject ( stats, path ) {
  stats.path = path;
  stats.basename = fs.basename(path);
  stats.dirname = fs.dirname(path);
  stats.extname = fs.extname(path);
  return stats;
}
function modifyStatsObject ( stats, path ) {
  stats.path = path;
  stats.basename = fs.basename(path);
  stats.dirname = fs.dirname(path);
  stats.extname = fs.extname(path);
  return stats;
}
function modifyStatsObject ( stats , path ) { stats . path = path ; stats . basename = fs . basename ( path ) ; stats . dirname = fs . dirname ( path ) ; stats . extname = fs . extname ( path ) ; return stats ; }
Update the `stats` object returned by methods using `fs.Stats`.
Update the stats object returned by methods using fs . Stats .