Skip to main content

is_normalized_absolute

Function is_normalized_absolute 

Source
pub fn is_normalized_absolute(path: &str) -> bool
Expand description

Filesystem::normalizePath: single slashes, ./.. resolution, no trailing slash (except for the root). True when normalize_path would return path unchanged: absolute, forward slashes only, no empty / . / .. segment, no trailing slash.