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

Function readProjectContent

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

Source from the content-addressed store, hash-verified

71};
72
73export const readProjectContent = async (
74 userId: string,
75 projectId: string,
76 fileName: string
77): Promise<string> => {
78 const contentPath = getProjectContentPath(userId, projectId, fileName);
79 return fsPromises.readFile(contentPath, 'utf8');
80};
81
82export const deleteProjectContent = async (
83 userId: string,

Callers

nothing calls this directly

Calls 1

getProjectContentPathFunction · 0.85

Tested by

no test coverage detected