pub type GitBranchUpdateRefFn = fn(gitdir: &Path, ref_name: &str, sha: &str) -> Result<(), BackendError>;Expand description
Point ref_name at sha, creating the ref when absent and
moving it unconditionally when present. Engine-internal, for refs
the engine derives and owns outright (the check-ledger transport
ref, whose content is re-derived from the workspace ledger before
every publish); never a mem’s branch.