use directories for structure
This commit is contained in:
13
node_modules/clone-stats/index.js
generated
vendored
Normal file
13
node_modules/clone-stats/index.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
var Stat = require('fs').Stats
|
||||
|
||||
module.exports = cloneStats
|
||||
|
||||
function cloneStats(stats) {
|
||||
var replacement = new Stat
|
||||
|
||||
Object.keys(stats).forEach(function(key) {
|
||||
replacement[key] = stats[key]
|
||||
})
|
||||
|
||||
return replacement
|
||||
}
|
Reference in New Issue
Block a user