Skip to main content

Crate parsentry_cache

Crate parsentry_cache 

Source
Expand description

Content-addressable file cache with namespace isolation

This crate provides a generic caching layer with file-based persistence, namespace-based isolation, and configurable cleanup policies.

Re-exports§

pub use cleanup::CleanupManager;
pub use cleanup::CleanupPolicy;
pub use cleanup::CleanupStats;
pub use cleanup::CleanupTrigger;
pub use entry::CacheEntry;
pub use entry::CacheMetadata;
pub use key::hash_key;
pub use key::CACHE_VERSION;
pub use storage::CacheStorage;

Modules§

cleanup
Cache cleanup and maintenance
entry
Generic cache entry and metadata
key
Cache key generation using SHA256 hashing
storage
Namespace-based file storage with content-addressable paths

Structs§

Cache
Content-addressable file cache with namespace isolation
CacheStats
Cache statistics