Module repository

Module repository 

Source
Expand description

The canonical memory repository.

One logical writer per user namespace, an optimistic revision check, and a whole-namespace materialization on every commit. Rewriting each affected category file from the in-process record set (rather than patching files in place) means a record that changes status — and therefore changes which file it belongs in — cannot leave a stale copy behind.

Structs§

ManifestEntry
A record’s place in the manifest index.
MemoryManifest
The index written alongside a user’s records.
MemoryTransaction
An all-or-nothing set of writes against one user’s namespace.
OkfRepository
An OKF repository projected onto an OkfStore.
ReconciliationSelector
Which existing records a reconciliation should be compared against.
Tombstone
A content-free record of a deletion.

Enums§

MemoryWrite
A single write in a transaction.

Constants§

MANIFEST_SCHEMA_VERSION
Manifest schema version.

Traits§

MemoryRepository
Read and write access to canonical memory.

Functions§

category_path
Which file a record belongs in (§25.1).