Skip to main content

warm_cache

Function warm_cache 

Source
pub fn warm_cache(cache: &mut SessionCache, history: &[RecentFile])
Expand description

Pre-populates a session cache with the highest-priority recent files.

Warming stops when the cache reaches 80% of its configured token budget. Missing, oversized, unreadable, and already-cached files are ignored.