check_dir_has_space

@accepts(Gio.File, guint64)
@returns(gboolean)
def check_dir_has_space(dir, bytes_needed)

Checks that the filesystem holding @file has at least @bytes_needed bytes available.

dir :

a GFile to check

bytes_needed :

number of bytes to check for

Returns :

True if enough space is available.