MCPcopy
hub / github.com/perkeep/perkeep / envPair

Function envPair

make.go:216–218  ·  view source on GitHub ↗

Create an environment variable of the form key=value.

(key, value string)

Source from the content-addressed store, hash-verified

214
215// Create an environment variable of the form key=value.
216func envPair(key, value string) string {
217 return fmt.Sprintf("%s=%s", key, value)
218}
219
220func goEnv() (ret []string) {
221 ret = slices.Clone(os.Environ())

Callers 1

goEnvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected