is_disk

Function is_disk 

Source
pub fn is_disk(dev_path: impl AsRef<Path>) -> BlockResult<bool>
Expand description

check if the path is a disk device path