is_zero


Description:

[ Version ( since = "1.11.8" ) ]
public int8 is_zero (string path) throws Error

test if a file contains all zero bytes

This returns true iff the file exists and the file is empty or it contains all zero bytes.

Parameters:

this

A GuestfsSession object

Returns:

the returned value, or -1 on error