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> {
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."
}
}