Skip to content
Snippets Groups Projects
Select Git revision
  • main default
  • pristine-tar
  • upstream
  • debian/2.5.8+ds-1
  • upstream/2.5.8+ds
  • debian/2.5.7+ds-1
  • upstream/2.5.7+ds
  • debian/2.5.4+ds-1
  • upstream/2.5.4+ds
  • debian/2.4.3+ds-2
  • debian/2.4.3+ds-1
  • upstream/2.4.3+ds
  • debian/2.4.2+ds-3
  • debian/2.4.2+ds-2
  • debian/2.4.2+ds-1
  • upstream/2.4.2+ds
  • debian/2.3.3-1
  • upstream/2.3.3
  • debian/2.1.2-1
  • upstream/2.1.2
  • debian/1.5.0-1
  • upstream/1.5.0
  • upstream/1.4.0
23 results

docs

  • Clone with SSH
  • Clone with HTTPS
  • 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.