has_low_disk_space

has_low_disk_space(threshold_gb=10) bool[source]

Checks if the root partition has low disk space.

Parameters:

threshold_gb (int, optional) – The threshold in GB. Defaults to 10.

Returns:

True if free space is below the threshold, False otherwise.

Return type:

bool