Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
114
function
projectRootFor(spec: string): string {
115
return
dirname(dirname(spec));
116
}
117
118
function
normalize(rawPath: string, root: string): string {
119
const
expanded = rawPath.startsWith(
"~"
)
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected