Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
12345678910111213141516 |
- # removeSync(path)
-
- Removes a file or directory. The directory can have contents. Like `rm -rf`.
-
- - `path` `<String>`
-
- ## Example:
-
- ```js
- const fs = require('fs-extra')
-
- // remove file
- fs.removeSync('/tmp/myfile')
-
- fs.removeSync('/home/jprichardson') // I just deleted my entire HOME directory.
- ```
|