Skip to main content

Crate act_store

Crate act_store 

Source
Expand description

Local OCI-layout component store shared by act-cli and act-toolserver.

See docs/specs/2026-05-26-shared-component-store-design.md.

Re-exports§

pub use fetch::UpdateOutcome;
pub use fetch::ensure;
pub use fetch::install_local;
pub use fetch::pull;
pub use fetch::store_referrer;
pub use fetch::update;
pub use provenance::Provenance;
pub use provenance::ProvenanceError;
pub use provenance::Source;
pub use reference::ParseRefError;
pub use reference::Ref;
pub use referrer::ReferrerInfo;
pub use referrer::referrer_kind;
pub use store::Store;
pub use store::StoreError;
pub use store::Stored;

Modules§

fetch
Fetching components into the store: OCI / HTTP / local. Network I/O is isolated in thin wrappers; store-assembly logic is offline-testable.
index
index.json (OCI image index) load/save plus pure descriptor helpers.
layout
OCI image-layout directory mechanics. Knows files and blobs, not components.
lock
Advisory file lock over <store>/.lock, guarding index.json mutations.
provenance
Provenance of a stored component, carried as OCI annotations. See spec §3.
reference
Component reference parsing. The shared source of truth for act-cli and act-toolserver. Ported from act-cli’s resolve.rs (parsing half only).
referrer
Connected-artifact (referrer) classification and annotation keys. See spec §9.
store
Store orchestrator: composes layout + index + provenance under a lock.

Enums§

LocationError
Error type for store-location resolution.

Functions§

store_dir
Resolve the shared store directory.