Skip to main content

canonical_dir

Function canonical_dir 

Source
pub fn canonical_dir(
    path: &Utf8Path,
    role: &'static str,
) -> Result<Utf8PathBuf, RkError>
Expand description

A directory argument as a canonical path, or the missing refusal naming its role.

ยงErrors

Returns RkError::Missing where the path is not a directory.