MCPcopy
hub / github.com/go-task/task / FastGetVariables

Method FastGetVariables

compiler.go:44–46  ·  view source on GitHub ↗
(t *ast.Task, call *Call)

Source from the content-addressed store, hash-verified

42}
43
44func (c *Compiler) FastGetVariables(t *ast.Task, call *Call) (*ast.Vars, error) {
45 return c.getVariables(t, call, false)
46}
47
48func (c *Compiler) getVariables(t *ast.Task, call *Call, evaluateShVars bool) (*ast.Vars, error) {
49 result := env.GetEnviron()

Callers 3

compiledTaskMethod · 0.80
runCommandMethod · 0.80

Calls 1

getVariablesMethod · 0.95

Tested by

no test coverage detected