Skip to main content

Module store

Module store 

Source
Expand description

Filesystem adapters: the mirror of gitio for everything that is not git.

Implementations of the persistence ports, and the only place in the engine outside gitio and llm that touches std::fs or the process environment (ADR 0020). Path policy — where a cache or a review lives — is domain and stays in plan; this module only reads and writes there.

Structs§

CacheUsage
What the regenerable cache currently holds, or what clearing it removed.
FsArtefactStore
Where the pre-group document is left for the model to read (ADR 0022).
FsGroupingCache
The on-disk grouping cache (ADR 0009).
FsReviewCatalogue
The reviews directory, read as a catalogue.
FsReviewStore
One review’s sidecar directory (ADR 0013).
OsConfigSource
Config files from the real filesystem, with the user directory resolved by platform convention.

Functions§

cache_usage
Measure the regenerable cache without touching it.
clear_cache
Delete the regenerable cache, returning what was removed.