MCPcopy Index your code
hub / github.com/docker/cli / envKey

Function envKey

cli/command/service/update.go:893–896  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

891}
892
893func envKey(value string) string {
894 k, _, _ := strings.Cut(value, "=")
895 return k
896}
897
898func buildToRemoveSet(flags *pflag.FlagSet, flag string) map[string]struct{} {
899 var empty struct{}

Callers 1

updateEnvironmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…