[go: up one dir, main page]

cache_dir

Function cache_dir 

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

Get the cache directory for cuenv.

Cache data includes:

  • Task execution cache (tasks/)
  • Task result metadata

Resolution order:

  1. CUENV_CACHE_DIR environment variable
  2. Platform cache directory + /cuenv

ยงErrors

Returns an error if the cache directory cannot be determined.