Skip to main content

Crate mount

Crate mount 

Source
Expand description

Heddle’s content-addressed mount.

mount is the platform-agnostic core (and Linux FUSE shell) that exposes a heddle thread as a directory tree. Reads walk the Merkle DAG lazily; writes (eventually) flow into a per-thread overlay that drains to a heddle commit on heddle capture.

The architecture is:

PlatformShell trait     ← thin platform adapters
  (FuseShell now;        (FSKit/ProjFS/CfAPI later)
    ↓
ContentAddressedMount   ← pure Rust core
    ↓
crates/repo + crates/objects  (already exists)

See PlatformShell for the trait every adapter implements, and ContentAddressedMount for the heddle-aware core.

Re-exports§

pub use crate::core::ContentAddressedMount;
pub use crate::core::PromotionPolicy;
pub use crate::error::MountError;
pub use crate::error::Result;
pub use crate::shell::Attrs;
pub use crate::shell::Entry;
pub use crate::shell::NodeId;
pub use crate::shell::NodeKind;
pub use crate::shell::PlatformShell;

Modules§

core
Content-addressed mount core.
error
Error types for the mount crate.
shell
Platform-agnostic shell trait.