MCPcopy Index your code
hub / github.com/perkeep/perkeep / flat

Method flat

pkg/cmdmain/cmdmain.go:418–426  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

416}
417
418func (e *env) flat() []string {
419 vv := make([]string, 0, len(e.order))
420 for _, k := range e.order {
421 if v, ok := e.m[k]; ok {
422 vv = append(vv, k+"="+v)
423 }
424 }
425 return vv
426}
427
428func newCopyEnv() *env {
429 e := &env{make(map[string]string), nil}

Callers 1

runExecFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected