pub fn workflow_cache_or_default() -> PathBufExpand description
The workflow cache directory or sensible default value.
§Panics
Panics if the user’s home directory cannot be determined.
§Examples
let cache = env::workflow_cache_or_default();
println!("Workflow Cache:\n{cache:?}");
// Workflow Cache:
// /Users/John/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.example.workflow