1pub mod identity;
4pub mod key;
5
6pub use identity::Identity;
7pub use key::{KeyPrefix, RecordKey};
8
9pub mod revision;
10pub use revision::{ContentHash, Revision};
11
12pub mod record;
13pub use record::{Body, MergeClass, Meta, Record, RecordKind};
14
15pub mod tombstone;
16pub use tombstone::{
17 CONSUMER_TOMBSTONE_REJECTED, DEFAULT_ANCESTOR_CAP, DeletePlan,
18 MANIFEST_TOMBSTONE_RECREATE_REJECTED, PurgePlan, PutPlan, TOMBSTONE_DOMAIN, fold_ancestors,
19 now_ms, plan_delete, plan_purge, plan_put, plan_put_raw, reconciled_ancestors,
20 reconciled_record, tombstone_hash, tombstone_of, tombstone_winner, validate_ancestor_cap,
21};
22
23pub mod manifest;
24pub use manifest::{Manifest, Reconciliation, desired_set};
25
26pub mod vector_manifest;
27pub use vector_manifest::VectorManifest;
28
29pub mod gc;
30pub use gc::{
31 DEFAULT_MIN_AGE, GcReport, SweepPolicy, gc_blobs, gc_blobs_with, live_blob_hashes, sweep_blobs,
32 sweep_blobs_with,
33};
34
35pub mod error;
36pub use error::{CoreError, Result};
37
38pub mod store;
39pub use store::{BlobEntry, BlobStore, Conflict, DeleteResult, PutResult, Store};
40
41pub mod merge;
42pub use merge::{MergeOutcome, merge};
43
44pub mod paths;
45pub use paths::{decode_segment, object_key, record_components, segment};
46
47pub mod ancestry;
48pub use ancestry::AncestryStore;
49
50pub mod sync;
51pub use sync::{SyncConflict, SyncReport, sync, sync_with_ancestry};
52
53pub mod reset;
54pub use reset::{ResetReport, reset, reset_as};
55
56pub mod collect;
57pub use collect::{CollectReport, collect};
58
59pub mod undelete;
60pub use undelete::undelete;
61
62#[cfg(any(test, feature = "conformance"))]
63pub mod memstore;
64
65#[cfg(test)]
66mod test_support;
67
68#[cfg(feature = "conformance")]
69pub mod conformance;