[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#709948: ITP: node-graceful-fs -- Graceful drop-in replacement for Node.js's default fs module



Package: wnpp
Severity: wishlist
Owner: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

* Package name    : node-graceful-fs
  Version         : 1.2.1
  Upstream Author : Isaac Z. Schlueter <i@izs.me>
* URL             : https://github.com/isaacs/node-graceful-fs
* License         : Expat
  Programming Lang: Javascript
  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.
 .
 The improvements are meant to normalize behavior across different platforms and
 environments, and to make filesystem access more resilient to errors.
 .
 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.


Reply to: