MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / dirExists

Function dirExists

tools/spec-loop/hooks/gate.ts:88–94  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

86}
87
88function dirExists(path: string): boolean {
89 try {
90 return statSync(path).isDirectory();
91 } catch {
92 return false;
93 }
94}
95
96function findSpec(start: string): string | null {
97 let current = resolve(start);

Callers 1

findSpecFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected