Deterministic instrumentation hooks for testing concurrent retirement races. Hooks do not replace filesystem operations: each callback returns before the real rename or link runs.
Optional
Readonly
Invoked if the captured record differs from expected, immediately before attempting linkSync.
linkSync
Invoked after the initial pre-check passes and immediately before renameSync.
renameSync
Deterministic instrumentation hooks for testing concurrent retirement races. Hooks do not replace filesystem operations: each callback returns before the real rename or link runs.