Source: node-graceful-fs
Section: web
Priority: extra
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders:
 Jérémy Lal <kapouer@melix.org>,
 Mike Gabriel <sunweaver@debian.org>,
Build-Depends:
 debhelper (>= 8.0.0),
 dh-buildinfo,
Standards-Version: 3.9.4
Homepage: https://github.com/isaacs/node-graceful-fs
Vcs-Git: git://git.debian.org/collab-maint/node-graceful-fs.git
Vcs-Browser: http://git.debian.org/?p=collab-maint/node-graceful-fs.git

Package: node-graceful-fs
Architecture: all
Depends:
 ${misc:Depends},
 nodejs (>= 0.6.19~dfsg1-3~),
Description: Graceful drop-in replacement for Node.js's default fs module
 This Node.js module works as a drop-in replacement for the fs module, bringing
 various improvements. It behaves just like Node.js's fs module, but it does an
 incremental back-off when EMFILE is encountered.
 .
 The improvements are meant to normalize behavior across different platforms and
 environments, and to make filesystem access more resilient to errors. It is
 very useful in asynchronous situations where one needs to try to open lots and
 lots of files.
 .
 The Improvements over default fs module are:
 .
    - Keep track of how many file descriptors are open, and by default limit
      them to 1024. Any further requests to open a file are put into a queue
      until new slots become available. If 1024 turns out to be too much, it
      decreases the limit further.
    - Fix lchmod for Node.js versions prior to 0.6.2.
    - Implement fs.lutimes if possible. Otherwise it becomes a noop.
    - Ignore EINVAL and EPERM errors in chown, fchown or lchown if the user
      isn't root.
    - Make lchmod and lchown become noops, if not available.
    - Retry reading a file if read results in EAGAIN error.
