MCPcopy 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
142function shouldStrip(name: string): boolean {
143 if (STRIP_EXACT.has(name)) return true;
144 return STRIP_PREFIXES.some((p) => name.startsWith(p));
145}

Callers 1

buildSpawnEnvFunction · 0.85

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected