Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

743 B
Raw Blame
//! Parkable encoded image storage.
//!
//! Completed encoded images are decoded through read-only snapshots and may be
//! parked into one `DiskPool` extent. Reading a parked image unparks it
//! synchronously; the retained disk extent lets a later park discard memory
//! without another write. The manager keeps resident and parked registries
//! separate, owns parking sweeps, and exposes the next resident deadline to
//! its runtime. Reader release uses a short grace period before re-parking.

mod image;
mod manager;
mod policy;
mod registry;

pub use image::{ParkableImage, ParkableImageSnapshot};
pub use manager::{ParkableImageManager, ParkableImageManagerDiagnostics};
pub use policy::ParkableImagePolicy;

#[cfg(test)]
mod tests;