Bachir Soussi Chiadmi cefd1c2ad0 updated sys and created publi | %!s(int64=7) %!d(string=hai) anos | |
---|---|---|
.. | ||
LICENSE.md | %!s(int64=7) %!d(string=hai) anos | |
README.md | %!s(int64=7) %!d(string=hai) anos | |
index.js | %!s(int64=7) %!d(string=hai) anos | |
package.json | %!s(int64=7) %!d(string=hai) anos | |
test.js | %!s(int64=7) %!d(string=hai) anos |
Safely clone node's
fs.Stats
instances without
losing their class methods, i.e. stat.isDirectory()
and co.
copy = require('clone-stats')(stat)
Returns a clone of the original fs.Stats
instance (stat
).
MIT. See LICENSE.md for details.