Files
crank/crates/crank-artifacts/src/lib.rs
T
bsodfather bc03c33387
CI / Rust Checks (push) Failing after 4m6s
CI / UI Checks (push) Has been skipped
CI / Frontend E2E (push) Has been skipped
CI / Community Image Smoke (push) Has been skipped
CI / Deploy (push) Has been skipped
fix(openapi): harden story 2.1 production lifecycle
2026-08-29 00:48:22 +03:00

32 lines
981 B
Rust

//! A small, Linux-only immutable content-addressed artifact store.
//!
//! The directory file descriptor opened by [`ArtifactStore::open`] is the
//! authority for all operations. Paths supplied by callers are never used for
//! blob I/O, and the public API deliberately exposes only opaque digests.
#[cfg(not(target_os = "linux"))]
compile_error!("crank-artifacts requires Linux");
mod error;
mod housekeeping;
mod legacy;
mod model;
mod recovery;
mod store;
mod temp_scan;
#[cfg(debug_assertions)]
#[doc(hidden)]
pub mod test_support;
pub use error::ArtifactError;
pub use housekeeping::{
ReconciliationCandidate, ReconciliationCursor, StaleTemp, TempScan, TempScanCursor,
};
pub use model::{
ArtifactRef, MAX_ARTIFACT_BYTES, MAX_SOURCE_BYTES, ReconciliationMutation,
ReconciliationNamespace, ReconciliationPresence, ReconciliationRegistration,
ReconciliationScan, ReconciliationScanStop, RegisteredArtifact, StoredArtifact,
};
pub use store::ArtifactStore;