Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
35
type
Option
func
(os *osParams)
36
37
func
WithGetenv(getenv
func
(string) string) Option {
38
return
func
(os *osParams) {
39
os.Getenv = getenv
40
}
41
}
42
43
// endregion
Callers
1
TestGetRepoRootDirectory
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestGetRepoRootDirectory
Function · 0.68