pub fn notes_ref_expected(
store: &FileRefStore,
notes_ref: &NotesRef,
) -> Result<Option<RefTarget>>Expand description
Derive the compare-and-swap precondition used by legacy full-replace callers:
Some when the notes ref exists as a direct oid, otherwise
None (create-only).