MCPcopy Create free account
hub / github.com/coder/envbox / EnvironFn

FuncType EnvironFn

xunix/env.go:11–11  ·  view source on GitHub ↗
func() []string

Source from the content-addressed store, hash-verified

9type environKey struct{}
10
11type EnvironFn func() []string
12
13func WithEnvironFn(ctx context.Context, fn EnvironFn) context.Context {
14 return context.WithValue(ctx, environKey{}, fn)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected