Artem S. Povalyukhin

Results 69 comments of Artem S. Povalyukhin

2. Fixed callback invocations in "fs" module. Fixes #200. https://gist.github.com/drsm/3f4567cacbc0f088862b04a0b5d5d7f2 (Ready)

TODO: (in no particular order) - TypedArrays & ArrayBuffer - better testsuite - benchmark - add more encodings

3. Introduced fs.promises API. / Introduced fs.access and friends. https://gist.github.com/drsm/d950402101765c7395c36cb4051576ba (Ready) @xeioex please take a look. isn't it broken by design?

I've updated the patch above. The solution is compatible with nodejs except the cases like `fs.promises.readFile()` (our version will throw).

4. Added fs.symlink(), fs.unlink(), fs.mkdir(), fs.rmdir() and friends. https://gist.github.com/drsm/d0b44c1d6252a9c2a0627c15aed97c31 (outdated)

JFF ```js var fs = require('fs'), fsp = fs.promises; var current; Promise.resolve('100k fs.access(/dev/null)') .then((name) => { current = name; console.log('start', current); console.time(current); }) .then(() => { console.time(current + ' sync');...

4. Added fs.symlink(), fs.unlink(), fs.realpath() and friends. https://gist.github.com/drsm/3d0402f41dc332b3c87bbe5dfcb7892e

@xeioex please take a look: https://gist.github.com/drsm/23a3167637465b48ddb0b82fc5481516 some code was taken from [here](https://github.com/nodejs/node/blob/8a6fab02adab2de05f6e864847f96b0924be0840/src/node_errors.cc#L445)

Added fs.mkdir(), fs.rmdir() and friends. https://gist.github.com/drsm/4785ae96a8b1ccee27a56c2919d6ba18

@xeioex > BTW, why not support recursive mode also? I'll to do it.