MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / looksLikeProjectRoot

Function looksLikeProjectRoot

src/directory.ts:403–405  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

401];
402
403function looksLikeProjectRoot(dir: string): boolean {
404 return WORKSPACE_ROOT_MANIFESTS.some((m) => fs.existsSync(path.join(dir, m)));
405}
406
407function escapeRegExp(s: string): string {
408 return s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');

Callers 2

planFrontloadFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected