Skip to main content

classify_returned_canary

Function classify_returned_canary 

Source
pub fn classify_returned_canary(
    path: &Path,
    marker: &str,
    local: &BinaryHashResult,
    remote: &BinaryHashResult,
    toolchains_match: Option<bool>,
) -> Result<CanaryVerdict>
Expand description

Classify a returned artifact only after reading its nonempty identity marker. I/O failure is an unavailable verification result, never marker presence.