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

Function getProjectCacheDir

frontend/src/config/common-path.ts:33–38  ·  view source on GitHub ↗
(
  userId: string,
  projectId: string
)

Source from the content-addressed store, hash-verified

31
32// Step 4: Project Cache Directory within a User's Directory
33export const getProjectCacheDir = (
34 userId: string,
35 projectId: string
36): string => {
37 return ensureDir(path.join(getUserCacheDir(userId), projectId));
38};
39
40// Step 5: Content Directory within a Project's Cache Directory
41export const getProjectContentDir = (

Callers 1

getProjectContentDirFunction · 0.85

Calls 2

getUserCacheDirFunction · 0.85
ensureDirFunction · 0.70

Tested by

no test coverage detected