MCPcopy Create free account
hub / github.com/temporalio/temporal / WithGetenv

Function WithGetenv

tests/testutils/source_root.go:37–41  ·  view source on GitHub ↗
(getenv func(string) string)

Source from the content-addressed store, hash-verified

35type Option func(os *osParams)
36
37func WithGetenv(getenv func(string) string) Option {
38 return func(os *osParams) {
39 os.Getenv = getenv
40 }
41}
42
43// endregion

Callers 1

TestGetRepoRootDirectoryFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestGetRepoRootDirectoryFunction · 0.68