Skip to main content

capability_snapshot_matches_binary

Function capability_snapshot_matches_binary 

Source
pub fn capability_snapshot_matches_binary(
    snapshot: &CodexCapabilities,
    binary: &Path,
) -> bool
Expand description

True when the snapshot was captured for the same binary path and fingerprint.

Hosts can consult this before applying a serialized snapshot to avoid reusing stale capability data after binary upgrades.