MCPcopy Create free account
hub / github.com/CodeFox-Repo/codefox / getUserCacheDir

Function getUserCacheDir

frontend/src/config/common-path.ts:27–30  ·  view source on GitHub ↗
(userId: string)

Source from the content-addressed store, hash-verified

25
26// Step 3: User Cache Directory
27export const getUserCacheDir = (userId: string): string => {
28 const hashedUserId = hashUserId(userId);
29 return ensureDir(path.join(getCacheDir(), hashedUserId));
30};
31
32// Step 4: Project Cache Directory within a User's Directory
33export const getProjectCacheDir = (

Callers 1

getProjectCacheDirFunction · 0.85

Calls 3

hashUserIdFunction · 0.85
getCacheDirFunction · 0.85
ensureDirFunction · 0.70

Tested by

no test coverage detected