Skip to main content

zhold_store/
lib.rs

1//! Owned build arenas and safe filesystem lifecycle for `zhold`.
2//!
3//! The crate exposes capabilities through a flat facade. Internal paths, lock files, manifests,
4//! and mutation ordering are not public compatibility boundaries.
5
6mod collection;
7mod context;
8mod error;
9mod history;
10mod inventory;
11mod io;
12mod layout;
13mod lock;
14mod manifest;
15mod quota;
16mod reservation;
17mod scan;
18mod store;
19mod time;
20mod worktree;
21
22#[cfg(test)]
23mod test_support;
24
25pub use collection::{
26    CollectionReport, CollectionSkip, Retirement, RetirementDisposition, TrashEntry, TrashOutcome,
27    TrashReport,
28};
29pub use context::{BuildContext, CargoInvocation, ContextResolver, WorktreeContext};
30pub use error::StoreError;
31pub use history::{
32    BuildFinalization, BuildReceipt, CollectionReceipt, CollectionReceiptSource,
33    FinalizationWarning, FinalizationWarningEvent, HistoryFinding, HistoryPayload,
34    HistoryPolicyDocument, HistoryPruneReport, HistoryPruneRequest, HistoryQuery, HistoryReceipt,
35    HistoryReport, HistorySummary, HistoryWarning, HistoryWarningEvent, HistoryWrite, HookReceipt,
36    QuotaReceipt, QuotaReceiptAction, RecoveryReason, RecoveryReceipt,
37};
38pub use inventory::{Inventory, InventoryDepth, InventoryEntry, InventoryFinding};
39pub use quota::{
40    QuotaAction, QuotaAdoption, QuotaExpectation, QuotaObservation, QuotaPlan, QuotaStatus,
41};
42pub use scan::{ForeignTarget, ScanReport};
43pub use store::{ArenaLease, DoctorReport, Store, StoreConfig, StoreInfo};
44pub use worktree::{
45    HookMetadata, HookReport, WorktreeFinding, WorktreeIntegration, WorktreeSummary,
46};