pub fn sufficient_disk_space(
    directory: &Path,
    space_needed: u64
) -> Result<bool, &'static str>