MCPcopy
hub / github.com/wavetermdev/waveterm / RmEnv

Function RmEnv

pkg/util/envutil/envutil.go:65–69  ·  view source on GitHub ↗
(envStr string, key string)

Source from the content-addressed store, hash-verified

63}
64
65func RmEnv(envStr string, key string) string {
66 envMap := EnvToMap(envStr)
67 delete(envMap, key)
68 return MapToEnv(envMap)
69}
70
71func SliceToEnv(env []string) string {
72 var sb strings.Builder

Callers 1

FixupWaveZshHistoryFunction · 0.92

Calls 2

EnvToMapFunction · 0.85
MapToEnvFunction · 0.85

Tested by

no test coverage detected