pub(super) fn container_path( has_file: impl Fn(&str) -> bool, path: &str, ) -> ContainerPath
Returns a path as a file path if has_file says there’s a file at it, or as a folder path otherwise.
has_file