Parameters
string
required
The file to delete.
Example
Errors
Related
delfolder: delete a folder.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Delete a file.
delfile(path: string) -> ()
delfile("old.log")
| Message | Condition |
|---|---|
argument 1 must be a string path | Argument 1 was not a string. |
that path names a folder, not a file | The path was a folder. |
no file exists at that path to remove | The file does not exist. |
the file could not be removed | The file could not be removed. |
delfolder: delete a folder.