Skip to main content

same_drive

Function same_drive 

Source
pub fn same_drive(a: &Path, b: &Path) -> bool
Expand description

Returns true if both paths live on the same physical drive / mount point. Used on init to decide whether drive_id should be stored.