Skip to main content

data_dir_for_cache_root

Function data_dir_for_cache_root 

Source
pub fn data_dir_for_cache_root(cache_root: &Path, speaker: &str) -> PathBuf
Expand description

Return the cache directory for speaker below an explicit cache root.

Callers that need deterministic isolation, including tests, should prefer this function over changing the process environment.