Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/go-task/task
/ Get
Function
Get
internal/env/env.go:28–34 ·
view source on GitHub ↗
(t *ast.Task)
Source
from the content-addressed store, hash-verified
26
}
27
28
func
Get(t *ast.Task) []string {
29
if
t.Env == nil {
30
return
nil
31
}
32
33
return
GetFromVars(t.Env)
34
}
35
36
func
GetFromVars(env *ast.Vars) []string {
37
environ := os.Environ()
Callers
4
areTaskPreconditionsMet
Method · 0.92
RunTask
Method · 0.92
runCommand
Method · 0.92
IsUpToDate
Method · 0.92
Calls
1
GetFromVars
Function · 0.85
Tested by
no test coverage detected