[ Version ( since = "1.0.77" ) ]
public bool truncate (string path) throws Error
truncate a file to zero size
This command truncates path
to a zero-length file. The file must exist already.
this |
A GuestfsSession object |
true on success, false on error |