[ Version ( since = "1.19.42" ) ]
public bool rm_f (string path) throws Error
remove a file ignoring errors
Remove the file path
.
If the file doesn't exist, that error is ignored. (Other errors, eg. I/O errors or bad paths, are not ignored)
This call cannot remove directories. Use rmdir to remove an empty directory, or rm_rf to remove directories recursively.
this |
A GuestfsSession object |
true on success, false on error |