pub fn encode_ref_updated(landed_oid: &str) -> StringExpand description
What:
Encode ref-updated.json with its trailing newline.
Why:
See encode_preparing.
In TS you’d write (pseudocode):
`${JSON.stringify({ schemaVersion: 2, state: 'ref-updated', landedOid })}\n`