陈鹏铭 93064e9f91 首次提交 hace 11 meses
..
LICENSE.md 93064e9f91 首次提交 hace 11 meses
README.md 93064e9f91 首次提交 hace 11 meses
index.js 93064e9f91 首次提交 hace 11 meses
package.json 93064e9f91 首次提交 hace 11 meses
test.js 93064e9f91 首次提交 hace 11 meses

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.