Delete a file or directory from the filesystem.
Files are unlinked. Directories are removed recursively along with all of their contents. Symlinks are removed as links and never followed into their targets.
delete(filePath: string): Promise<DeleteResult>| Name | Type | Description |
|---|---|---|
filePath* | string |