mod artifact_commit;
mod command_lifetime_lock;
mod error;
mod file_lock;
mod integrity;
mod journal_lock;
mod json;
mod layout;
pub(crate) use artifact_commit::commit_artifact_directory;
pub use command_lifetime_lock::CommandLifetimeHandle;
pub(crate) use command_lifetime_lock::{CommandLifetimeLock, CommandLifetimeLockError};
pub use error::PersistenceError;
pub use integrity::{
ArtifactIntegrityReport, BackupExecutionIntegrityReport, BackupIntegrityReport,
resolve_backup_artifact_path,
};
pub(crate) use journal_lock::{JournalLock, JournalLockError};
pub(crate) use json::write_json_durable;
#[cfg(test)]
pub(crate) use json::{DurableWriteBarrier, write_json_durable_at_barriers};
pub use layout::BackupLayout;
#[cfg(test)]
mod tests;