Skip to main content

cache_stat

Function cache_stat 

Source
pub fn cache_stat(dir: &Path) -> Result<CacheStats, ClientError>
Expand description

Summarise a cache directory without changing it.

ยงErrors

Returns an error when the directory is a symbolic link, is open to other users, or cannot be read. A directory that does not exist is not an error.