MCPcopy Create free account
hub / github.com/PatrickSys/codebase-context / fileExists

Function fileExists

src/core/symbol-references.ts:95–102  ·  view source on GitHub ↗
(targetPath: string)

Source from the content-addressed store, hash-verified

93}
94
95async function fileExists(targetPath: string): Promise<boolean> {
96 try {
97 const stat = await fs.stat(targetPath);
98 return stat.isFile();
99 } catch {
100 return false;
101 }
102}
103
104export async function findSymbolReferences(
105 rootPath: string,

Callers 1

findSymbolReferencesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected