Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ WithEnv
Method
WithEnv
internal/utils/exec/cmd.go:67–70 ·
view source on GitHub ↗
(env []string)
Source
from the content-addressed store, hash-verified
65
}
66
67
func
(this *Cmd) WithEnv(env []string) *Cmd {
68
this.env = env
69
return
this
70
}
71
72
func
(this *Cmd) WithDir(dir string) *Cmd {
73
this.dir = dir
Callers
1
runAction
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected