Skip to main content

gitiverse_git/
lib.rs

1#![cfg_attr(test, allow(clippy::unwrap_used, clippy::expect_used))]
2
3//! Git repository storage, packfile streaming/quarantine ingest, canonical CBOR/JSON serialisation, and ancestry/mergeability helpers.
4
5pub mod canonical;
6pub mod diff;
7pub mod pack;
8pub mod store;
9
10pub use canonical::{
11    canonical_json_bytes, from_canonical_cbor, sha256_digest, sha256_hex, to_canonical_cbor,
12};
13pub use diff::{
14    DiffFileStat, DiffSummary, MergeCheckResult, check_mergeable, diff_summary, is_ancestor,
15};
16pub use pack::{RefUpdateSpec, build_pack, quarantine_index_pack, quarantine_ingest};
17pub use store::{
18    CliGitStore, GitError, GitObject, GitObjectKind, GitStore, Oid, validate_ref_name,
19};