Skip to main content

Crate khive_vcs

Crate khive_vcs 

Source
Expand description

KG versioning — content-addressed snapshot hashing and NDJSON-to-SQLite sync.

Git-native v1: KG state lives as sorted NDJSON files in a git repo. Retains types (snapshot IDs), hash (SHA-256), sync (rebuild library), and error.

Re-exports§

pub use error::VcsError;
pub use types::SnapshotCoverage;
pub use types::SnapshotId;
pub use types::VcsState;
pub use types::KG_V1_COVERAGE;

Modules§

error
Error types for the VCS layer.
hash
Canonical JSON serialization and SHA-256 snapshot hashing.
sync
NDJSON-to-SQLite sync library boundary.
types
Core versioning types: SnapshotId, VcsState.