Method
FlatpakInstallationget_min_free_space_bytes
since: 1.1
Declaration [src]
gboolean
flatpak_installation_get_min_free_space_bytes (
FlatpakInstallation* self,
guint64* out_bytes,
GError** error
)
Description [src]
Returns the min-free-space config value from the OSTree repository of this installation.
Applications can use this value, together with information about the available disk space and the size of pending updates or installs, to estimate whether a pull operation will fail due to running out of disk space.
Available since: 1.1
Parameters
out_bytes-
Type:
guint64*Location to store the result.
The argument will be set by the function. error-
Type:
GError **The return location for a recoverable error.
The argument can be NULL.If the return location is not NULL, then you must initialize it to aNULLGError*.The argument will be left initialized to NULLby the method if there are no errors.In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.