Skip to main content

ensure_default_cache

Function ensure_default_cache 

Source
pub fn ensure_default_cache() -> SearchResult<ModelCacheLayout>
Expand description

Resolve the cache root and ensure all directories exist.

This is the primary entry point for consumers who just want a working model cache.

ยงErrors

Returns SearchError if directory creation fails.