pin_target_commit

Function pin_target_commit 

Source
pub(crate) fn pin_target_commit<'a>(
    resolved: &'a FleetResolved,
    host: &str,
    current_commit: Option<&str>,
) -> Option<&'a str>
Expand description

Some(commit) iff the host has a pin AND pin.commit ≠ current_commit. Same-commit pins return None so the local build path handles them.