Function check_disk_space
Source fn check_disk_space(path: &str) -> Result<(), OtaError>
Expand description
Verifies sufficient disk space is available in the specified path for download.
Requires at least 100MB of free space for artifact download and extraction.
§Arguments
path - The path to check for available disk space
§Errors
Returns OtaError::InsufficientSpace if less than 100MB is available.