FileSystemManager.unlinkSync
JS
FileSystemManager.unlinkSync(string path)Delete a file
The synchronous version of FileSystemManager.unlink
Parameters
- string filePath: Path of the file to delete
Parameters of the captured exception
- string error: Returns the error message; see the table below for valid values
Valid values of error:
| Error message | Description |
|---|---|
| no such file or directory | The file does not exist |
