Skip to main content

Module store

Module store 

Source
Expand description

Storage traits. CommitStore owns the content-addressed blob graph; RefStore owns branch pointers. Both are behind traits so unit tests can run against fast in-memory fakes while production code uses SQLite.

Traits§

CommitStore
Content-addressed storage for commits, plus the parent/child index needed for ancestry walks (log, bisect) without touching blob contents.
RefStore
Named, mutable pointers to commits — the only mutable state in the system.