Module store

Module store 

Source
Expand description

The byte-level store the OKF repository is projected onto.

Separating “which files exist and what is in them” from “what a memory means” lets the repository be exercised without touching a disk, and lets production swap the filesystem for object storage without the repository noticing.

Structs§

FsStore
A filesystem-backed store rooted at a directory.
MemoryStore
An in-process store — the default for tests and ephemeral sessions.

Traits§

OkfStore
A flat, path-addressed store of UTF-8 documents.