0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal/fs
cjihrig 53816cce69 fs: add recursive option to rmdir()
This commit adds a recursive option to fs.rmdir(),
fs.rmdirSync(), and fs.promises.rmdir(). The implementation
is a port of the npm module rimraf.

PR-URL: https://github.com/nodejs/node/pull/29168
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Ben Coe <bencoe@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
2019-08-23 13:59:07 -07:00
..
promises.js fs: add recursive option to rmdir() 2019-08-23 13:59:07 -07:00
read_file_context.js fs: improve readFile performance 2019-04-07 11:28:15 +02:00
rimraf.js fs: add recursive option to rmdir() 2019-08-23 13:59:07 -07:00
streams.js fs: allow passing true to emitClose option 2019-08-22 22:51:30 -07:00
sync_write_stream.js lib: enforce the use of Object from primordials 2019-04-12 05:38:45 +02:00
utils.js fs: add recursive option to rmdir() 2019-08-23 13:59:07 -07:00
watchers.js fs: extract path conversion and validation to getValidatedPath 2019-05-14 15:13:48 -07:00