filesize
Description:
return the size of the file in bytes
This command returns the size of file in bytes.
To get other stats about a file, use stat, lstat, is_dir, is_file etc. To get the size of block devices, use blockdev_getsize64.
Parameters:
this |
A GuestfsSession object |
Returns:
the returned value, or -1 on error |