mirror of
https://github.com/jprichardson/node-fs-extra.git
synced 2026-01-25 16:42:57 +00:00
Merge pull request #222 from yetanotherusernamebecausegithubisbugged/patch-1
A clearer description of emtpyDir function
This commit is contained in:
commit
2de9f09550
@ -171,7 +171,7 @@ better succinct nomenclature for these methods, please open an issue for discuss
|
||||
|
||||
### emptyDir(dir, [callback])
|
||||
|
||||
Ensures that a directory is empty. If the directory does not exist, it is created. The directory itself is not deleted.
|
||||
Ensures that a directory is empty. Deletes directory contents if the directory is not empty. If the directory does not exist, it is created. The directory itself is not deleted.
|
||||
|
||||
Alias: `emptydir()`
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user