Function tvix_build::proto::is_clean_path
source · fn is_clean_path<P: AsRef<Path>>(p: P) -> bool
Expand description
Checks a path to be without any ‘..’ components, and clean (no superfluous slashes).
fn is_clean_path<P: AsRef<Path>>(p: P) -> bool
Checks a path to be without any ‘..’ components, and clean (no superfluous slashes).