Skip to main content

Module txn

Module txn 

Source
Expand description

The pin transaction: both facts move or neither does.

Where the manager records two facts, a tag and its locked node, the tag is rewritten and the lock refreshed by the manager’s own command, and a failure at either step puts both files back byte-identical. Where the manager records one fact, that one fact moves in place. Nothing here commits or pushes: what the transaction leaves behind is a diff.

Structs§

Moved
What one sync moved.

Functions§

sync
Move one manager’s pin to to.