Skip to main content

canonical_path

Function canonical_path 

Source
pub(crate) fn canonical_path(
    path: &str,
    folder: bool,
) -> Result<String, Refusal>
Expand description

path canonicalised once, as forward slashes, or why it can’t be opened (G7). folder says which kind it must be.