beforeRefUpdate property
void Function()?
beforeRefUpdate
getter/setter pair
Fired once, immediately before the next PATCH /git/refs/… is applied.
This is the seam a test uses to land a competing commit inside another
writer's read-modify-write window.
Implementation
void Function()? beforeRefUpdate;