Skip to main content

container_path

Function container_path 

Source
pub(super) fn container_path(
    has_file: impl Fn(&str) -> bool,
    path: &str,
) -> ContainerPath
Expand description

Returns a path as a file path if has_file says there’s a file at it, or as a folder path otherwise.