[ Version ( since = "0.3" ) ]
public bool sync () throws Error
sync disks, writes are flushed through to the disk image
This syncs the disk, so that any writes are flushed through to the underlying disk image.
You should always call this if you have modified a disk image, before closing the handle.
this |
A GuestfsSession object |
true on success, false on error |