Skip to main content

Module mem

Module mem 

Source
Expand description

In-memory fakes of CommitStore and RefStore, for fast unit/property tests and as a reference implementation of the storage contract.

Structsยง

InMemoryCommitStore
InMemoryGraphStore
Combines InMemoryCommitStore + InMemoryRefStore behind a single type that implements both traits, so it can back ContextGraph<S> directly (the same shape production code gets from SqliteStore).
InMemoryRefStore