rm_f


Description:

[ 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.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error