pub fn canonical_encode_spec_kv_v1(path: &Path) -> Result<String, String>
Return the canonical v1 kv encoding for a spec.kv file.
kv
spec.kv
This is useful for stable diffs and parity checks.