Skip to main content

Crate repolith_cache

Crate repolith_cache 

Source
Expand description

Cache implementations for the repolith orchestration engine.

The Cache trait and CacheError type are defined in repolith_core::cache and re-exported here for convenience. This crate hosts the concrete backends (SQLite, in-memory, …) that satisfy the trait.

Re-exports§

pub use sqlite::SqliteCache;
pub use namespaced::NamespacedCache;

Modules§

namespaced
Namespacing decorator — prefixes ids so multiple stacks can share one backend without collisions. See namespaced::NamespacedCache. NamespacedCache — decorator that prefixes every ActionId before it reaches the inner backend.
sqlite
SQLite-backed Cache implementation. See sqlite::SqliteCache. SQLite-backed Cache implementation.

Enums§

CacheError
Errors that can occur during cache operations.

Traits§

Cache
Persistent store for BuildEvents, keyed by ActionId.

Type Aliases§

Result
A specialized Result type for cache operations.