Skip to main content

cache_location

Function cache_location 

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

Where the cache is: as in Nx, NX_CACHE_DIRECTORY, then nx.json cacheDirectory, relative to the workspace root, with qk’s entries in qk/v1 inside so they never mix with Nx’s; otherwise cache_directory, shared by the repository’s worktrees.