Skip to main content

cache_location

Function cache_location 

Source
pub fn cache_location(workspace: &Workspace) -> PathBuf
Expand description

Where the cache is: QK_CACHE_DIRECTORY, qk’s alone, with its entries in v1 inside; then, as in Nx, NX_CACHE_DIRECTORY, nx.json cacheDirectory and the default runner’s tasksRunnerOptions.default.options.cacheDirectory, with qk’s entries in qk/v1 inside so they never mix with Nx’s; each relative to the workspace root. Otherwise cache_directory, shared by the repository’s worktrees.