Upsilon-VsCode/Client/node_modules/clone-stats
Deukhoofd 95cff6f702
Initial
2019-02-17 18:07:28 +01:00
..
LICENSE.md Initial 2019-02-17 18:07:28 +01:00
README.md Initial 2019-02-17 18:07:28 +01:00
index.js Initial 2019-02-17 18:07:28 +01:00
package.json Initial 2019-02-17 18:07:28 +01:00
test.js Initial 2019-02-17 18:07:28 +01:00

README.md

clone-stats Flattr this!experimental

Safely clone node's fs.Stats instances without losing their class methods, i.e. stat.isDirectory() and co.

Usage

clone-stats

copy = require('clone-stats')(stat)

Returns a clone of the original fs.Stats instance (stat).

License

MIT. See LICENSE.md for details.