Skip to main content

resolve_distro_path

Function resolve_distro_path 

Source
pub fn resolve_distro_path(
    distro_name: Option<&str>,
    explicit_file: Option<&Path>,
    cache_root: &Path,
    version: &str,
    offline: bool,
) -> Result<Option<PathBuf>>
Expand description

Ensure the named distro image (alpine, debian, etc.) is available locally.