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

Function looksLikeProjectRoot

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

Source from the content-addressed store, hash-verified

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

Callers 2

planFrontloadFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected