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

Function GetTaskEnv

internal/env/env.go:63–65  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

61}
62
63func GetTaskEnv(key string) string {
64 return os.Getenv(taskVarPrefix + key)
65}
66
67// GetTaskEnvBool returns the boolean value of a TASK_ prefixed env var.
68// Returns the value and true if set and valid, or false and false if not set or invalid.

Callers 8

envColorFunction · 0.92
initFunction · 0.92
initFunction · 0.92
GetTaskEnvBoolFunction · 0.85
GetTaskEnvIntFunction · 0.85
GetTaskEnvDurationFunction · 0.85
GetTaskEnvStringFunction · 0.85
GetTaskEnvStringSliceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…