MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / fileExists

Function fileExists

src/context/project-info.ts:47–54  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

45];
46
47async function fileExists(p: string): Promise<boolean> {
48 try {
49 await fs.access(p);
50 return true;
51 } catch {
52 return false;
53 }
54}
55
56export async function detectProjectInfo(cwd: string): Promise<ProjectInfo> {
57 const info: ProjectInfo = {

Callers 1

detectProjectInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected