Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rimraf/README.md')
-rw-r--r--node_modules/rimraf/README.md16
1 files changed, 10 insertions, 6 deletions
diff --git a/node_modules/rimraf/README.md b/node_modules/rimraf/README.md
index 8fc677956..cd123b652 100644
--- a/node_modules/rimraf/README.md
+++ b/node_modules/rimraf/README.md
@@ -1,4 +1,4 @@
-A `rm -rf` for node.
+`rm -rf` for node.
Install with `npm install rimraf`, or just drop rimraf.js somewhere.
@@ -9,11 +9,10 @@ Install with `npm install rimraf`, or just drop rimraf.js somewhere.
The callback will be called with an error if there is one. Certain
errors are handled for you:
-* `EBUSY` - rimraf will back off a maximum of opts.maxBusyTries times
- before giving up.
-* `EMFILE` - If too many file descriptors get opened, rimraf will
- patiently wait until more become available.
-
+* Windows: `EBUSY` and `ENOTEMPTY` - rimraf will back off a maximum of
+ `opts.maxBusyTries` times before giving up.
+* `ENOENT` - If the file doesn't exist, rimraf will return
+ successfully, since your desired outcome is already the case.
## rimraf.sync
@@ -24,3 +23,8 @@ the async API. It's better.
If installed with `npm install rimraf -g` it can be used as a global
command `rimraf <path>` which is useful for cross platform support.
+
+## mkdirp
+
+If you need to create a directory recursively, check out
+[mkdirp](https://github.com/substack/node-mkdirp).