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

Function projectRootFor

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

Source from the content-addressed store, hash-verified

112}
113
114function projectRootFor(spec: string): string {
115 return dirname(dirname(spec));
116}
117
118function normalize(rawPath: string, root: string): string {
119 const expanded = rawPath.startsWith("~")

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected