MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / StripAllSafeEnvPrefixes

Function StripAllSafeEnvPrefixes

tools/bash/tokenizer.go:231–239  ·  view source on GitHub ↗
(command string)

Source from the content-addressed store, hash-verified

229}
230
231func StripAllSafeEnvPrefixes(command string) string {
232 var prev string
233 current := command
234 for prev != current {
235 prev = current
236 current = StripSafeEnvVars(current)
237 }
238 return current
239}
240
241func NormalizeBaseToken(token string) string {
242 if strings.Contains(token, "=") {

Calls 1

StripSafeEnvVarsFunction · 0.85