// SPDX-License-Identifier: Apache-2.0
//! Heddle core domain modules extracted from the monolith.

pub mod error;
pub mod fault_inject;
pub mod fs_atomic;
pub mod fs_clone;
pub mod fs_ops;
pub mod legacy;
pub mod lock;
pub mod object;
pub mod observe;
pub mod progress;
pub mod store;
pub mod sync;
pub mod util;
pub mod worktree;

pub use error::{HeddleError, RecoveryDetails};
pub use observe::{
    CollectingWarnings, NoopProgress, NoopWarnings, ProgressEvent, ProgressSink, TaskId, Warning,
    WarningSink,
};
pub use progress::{Progress, ProgressSnapshot, Sink};
pub use sync::{LockExt, RwLockExt};
