Skip to main content

Module sqlite

Module sqlite 

Source
Expand description

SQLite-backed CommitStore + RefStore, in WAL mode. Commit blobs and metadata are stored as JSON text columns; parent/child edges are indexed in both directions so ancestry walks (log, bisect) don’t need to deserialize blobs just to traverse the graph.

Structs§

SqliteStore
A single SQLite-backed store implementing both CommitStore and RefStore, sharing one connection pool so commit + branch-move operations can be composed into a single transaction by callers.