pub(crate) fn canonical_path( path: &str, folder: bool, ) -> Result<String, Refusal>
path canonicalised once, as forward slashes, or why it can’t be opened (G7). folder says which kind it must be.
path
folder