Skip to main content

validate_root

Function validate_root 

Source
pub fn validate_root(path: &str) -> Result<PathBuf, (u8, String)>
Expand description

Validate and canonicalize a requested root. Returns the canonical path or an FS_STATUS_* code plus diagnostic.