MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getXDGCacheHome

Function getXDGCacheHome

src/utils/xdg.ts:42–45  ·  view source on GitHub ↗
(options?: XDGOptions)

Source from the content-addressed store, hash-verified

40 * @param options Optional env and homedir overrides for testing
41 */
42export function getXDGCacheHome(options?: XDGOptions): string {
43 const { env, home } = resolveOptions(options)
44 return env.XDG_CACHE_HOME ?? join(home, '.cache')
45}
46
47/**
48 * Get XDG data home directory

Callers 1

getBaseDirectoriesFunction · 0.85

Calls 1

resolveOptionsFunction · 0.85

Tested by

no test coverage detected