Expand description
Storage layer over CozoDB (RocksDB engine). Phase 02 implements all ops.
Re-exports§
pub use manifest::Manifest;pub use manifest::with_lock as manifest_with_lock;pub use repo_lock::with_repo_lock;pub use store::RegistryStorage;pub use store::Storage;
Modules§
- cozo_
compat - Cozo error compatibility — typed-shape facade over
cozo-ce-0.7.x. - manifest
manifest.jsonat~/.ckg/manifest.json— index of all known repos.- queries
- Pre-baked Datalog queries (blast-radius, call-chain, dead-code).
- repo_
lock - Per-repo advisory flock — used to serialise destructive operations
(
ckg indexwrite phases vsckg remove’sremove_dir_all) on the same per-repo Cozo DB. - schema
- Cozo Datalog DDL. Run on first open; subsequent opens swallow
relation exists. - store
- Storage facade over CozoDB. One DB per repo, plus a shared registry DB.