Skip to content
Snippets Groups Projects
Select Git revision
  • debian/latest default
  • pristine-tar
  • upstream
  • debian/11
  • upstream-11
  • debian/bookworm
  • upstream-9
  • debian/bullseye
  • upstream-bullseye
  • bullseye
  • buster
  • upstream-buster
  • fix-mock-object-3.1-compatibility-with-phpunit-5.2
  • 4.2
  • debian-sid
  • upstream-sid
  • debian-wheezy
  • upstream-wheezy
  • debian/12.4.1-1
  • upstream/12.4.1
  • 12.4.1
  • debian/12.4.0-1
  • upstream/12.4.0
  • 12.4.0
  • debian/12.3.15-2
  • debian/12.3.15-1
  • upstream/12.3.15
  • 12.3.15
  • 11.5.42
  • 10.5.58
  • debian/12.3.14-1
  • upstream/12.3.14
  • 12.3.14
  • 11.5.41
  • 10.5.57
  • 9.6.29
  • 8.5.48
  • 12.3.13
38 results

schema

  • 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.