Skip to main content

validate_mount_point

Function validate_mount_point 

Source
pub fn validate_mount_point(
    mount_point: &str,
    platform: Platform,
) -> Result<(), ValidationError>
Expand description

Validate a mount-point path for the given platform.

Ensures the path lives under an OS-appropriate directory tree.