-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
recursive option for fs.rmdir #27764
Copy link
Copy link
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.
fs.mkdir gained a
recursiveoption in 10.12 (providing alternative to themkdirpmodule) and I think the popularity of therimrafmodule speaks for itself that there is very high userland to justify having it onfs.rmdirand it's variants too.Examples of other languages implementing similar functionality are golang's
os.RemoveAllor python'sshutil.rmtree.