Açıklama Yok

index.js 228B

12345678910111213
  1. var Stat = require('fs').Stats
  2. module.exports = cloneStats
  3. function cloneStats(stats) {
  4. var replacement = new Stat
  5. Object.keys(stats).forEach(function(key) {
  6. replacement[key] = stats[key]
  7. })
  8. return replacement
  9. }