Skip to main content

rebuild_cache

Function rebuild_cache 

Source
pub fn rebuild_cache(events_dir: &Path, cache_path: &Path) -> Result<CacheStats>
Expand description

Rebuild cache from .bones/events shards and write to cache_path.

ยงErrors

Returns an error if shard replay, parsing, encoding, or file I/O fails.