pub fn format_packed_refs(refs: &[RefSnapshotEntry], target_ref: &str) -> StringExpand description
What: Formats the files-backend snapshot of every direct ref except the private target. Why: The target is written loose, so a packed copy would only be shadowed.
In TS you’d write (pseudocode):
formatPackedRefs({ refs, targetRef });