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

Function getProjectContentDir

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

Source from the content-addressed store, hash-verified

39
40// Step 5: Content Directory within a Project's Cache Directory
41export const getProjectContentDir = (
42 userId: string,
43 projectId: string
44): string => {
45 return ensureDir(path.join(getProjectCacheDir(userId, projectId), 'content'));
46};
47
48// Updated function to get the full path to a specific file within the 'content' directory
49export const getProjectContentPath = (

Callers 1

getProjectContentPathFunction · 0.85

Calls 2

getProjectCacheDirFunction · 0.85
ensureDirFunction · 0.70

Tested by

no test coverage detected