Skip to main content

scan_default_cache

Function scan_default_cache 

Source
pub fn scan_default_cache() -> Result<CacheInfo, Error>
Expand description

Scan the conventional Hugging Face Hub cache directory.

ยงErrors

Returns Error::Io when the cache root exists but cannot be read.