Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TraderAlice/OpenAlice
/ shouldStrip
Function
shouldStrip
src/workspaces/spawn-env.ts:142–145 ·
view source on GitHub ↗
(name: string)
Source
from the content-addressed store, hash-verified
140
}
141
142
function
shouldStrip(name: string): boolean {
143
if
(STRIP_EXACT.has(name))
return
true;
144
return
STRIP_PREFIXES.some((p) => name.startsWith(p));
145
}
Callers
1
buildSpawnEnv
Function · 0.85
Calls
1
has
Method · 0.65
Tested by
no test coverage detected