Skip to main content

Module handle

Module handle 

Source
Expand description

The store: a container and the Repo it holds, joined so that every accepted commit reaches the files before the call returns.

This is the only door. A caller can read the repo but never write it, so “folded but not written” — the state a crash would silently keep — is not something an outside caller can produce.

Structs§

Store
Written 🔒
Everything a row is minted from beyond the chain it links into.

Enums§

Clock
Where a row’s wall time comes from. The system clock is the only production value; the pinned arm is the seam a byte-stable golden and a repeatable test need, and it advances so a fixture’s rows are ordered in time without depending on one.
SeedFailure
Why a container could not be seeded from a session’s commits — the Save-As-container path, which lays out a container and then replays a scratch session’s commits into it through the ordinary write door.
Step 🔒
What a history step is, before the repo has taken it.

Functions§

named 🔒
The entities a commit named, spelled as the manifest records them.
whole 🔒
The longest prefix of rows whose last rev the container can show, with the break that cut it short.