liblitho 0.2.0

cli tool to flash/clone the images to storage devices
Documentation
use crate::devices::{DeviceError, DeviceMount};
use crate::platform::traits::DeviceSafety;

use super::MacPlatform;

impl DeviceSafety for MacPlatform {
    fn refuse_system_disk(_path: &str) -> Result<(), DeviceError> {
        // TODO: identify boot disk via diskutil / IOKit.
        Ok(())
    }

    fn list_mounts(_path: &str) -> Result<Vec<DeviceMount>, DeviceError> {
        Ok(Vec::new())
    }

    fn busy_hint() -> &'static str {
        "Unmount all volumes on this drive (diskutil unmountDisk), then try again."
    }
}