node/lib/internal/fs
Benjamin Coe bdef1b1eb4
fs: implement mkdir recursive (mkdirp)
Implements mkdirp functionality in node_file.cc. The Benefit
of implementing in C++ layer is that the logic is more easily
shared between the Promise and callback implementation and
there are notable performance improvements.

This commit is part of the Tooling Group Initiative.

Refs: https://github.com/nodejs/user-feedback/pull/70

PR-URL: https://github.com/nodejs/node/pull/21875
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Ron Korving <ron@ronkorving.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Sam Ruby <rubys@intertwingly.net>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
2018-08-11 12:07:32 -07:00
..
promises.js fs: implement mkdir recursive (mkdirp) 2018-08-11 12:07:32 -07:00
read_file_context.js src,lib: rename FSReqWrap to FSReqCallback 2018-08-01 15:07:06 -04:00
streams.js src,lib: rename FSReqWrap to FSReqCallback 2018-08-01 15:07:06 -04:00
sync_write_stream.js fs: refactor fs module 2018-05-20 14:15:56 -07:00
utils.js fs: throw ERR_INVALID_ARG_VALUE when buffer being written is empty 2018-07-15 19:09:19 +08:00
watchers.js lib,src: standardize owner_symbol for handles 2018-08-05 13:46:13 +02:00