Skip to main content

Module cache

Module cache 

Source
Expand description

Cache trait + CacheError. Concrete backends live in dependent crates. Cache trait — abstract storage for build events.

Defines the contract that any backend (sqlite, in-memory, redis…) must satisfy. Concrete implementations live in dependent crates (e.g. repolith-cache::SqliteCache). The trait lives here in repolith-core so consumers like crate::plan::Plan can depend on the abstraction without pulling in any specific backend.

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.