Skip to main content

resolve

Function resolve 

Source
pub fn resolve(
    repo: &Path,
    store: &Store,
    policy: &str,
    offline: bool,
) -> Option<String>
Expand description

The staleness-reference sha per policy (“none” | “local-head” | anything else = live-origin). offline forces the cached reference (results/origin-sha) and never resolves fresh.