pub fn normalize_contract_id(id: &str) -> &strExpand description
Normalize a contract identifier by stripping .yaml/.yml extension.
Both binding entries (contract: foo-v1.yaml) and file stems (foo-v1)
are normalized to the bare stem so comparisons work regardless of whether
the caller used a filename or stem.