Deletes a file or empty directory.
Example:
var path = new Path ("/tmp/to_delete.txt");
bool ok = Files.remove (path);
| path |
path to file or empty directory. |
|
true if deletion succeeded, false otherwise. |