pub fn source_outdated(
lock_entry: Option<&LockEntry>,
source_checksum: &str,
source_version: Option<&str>,
) -> boolExpand description
Returns true if an installed artifact is considered outdated relative to
the source. Pure function — no I/O.
The three rules:
- No lock entry → outdated (artifact is untracked)
source_checksumdiffers from lock’ssource_checksum→ outdated (content changed in source)- Version newly present in source (source has a version, lock entry has none) → outdated