Skip to main content

cache_dir

Function cache_dir 

Source
pub fn cache_dir() -> Option<PathBuf>
Expand description

Resolve the DevFlow cache directory. The ONLY env-reading function in this module. Resolution order: DEVFLOW_CACHE_DIR (test/override hook), then XDG_CACHE_HOME/devflow, then HOME/.cache/devflow. Returns None when none of the three is set.

This workspace has no dirs crate and must not gain one (23-RESEARCH.md Standard Stack: zero new dependencies).