glimr/cache/file/pool
File Cache Pool
Provides a pool type for file-based caching. The pool holds the cache directory path and provides a consistent API with other cache drivers like Redis.
Types
Values
pub fn get_path(pool: Pool) -> String
Returns the base path for this cache pool. Used internally by cache operations to construct file paths for cached entries.
pub fn start_pool(store: driver.CacheStore) -> Pool
Creates a new file cache pool from a FileStore configuration. Panics if called with a non-FileStore. Use the file.start function for a safer entry point.