MCPcopy Index your code
hub / github.com/go-task/task / init

Function init

internal/execext/coreutils.go:12–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10var useGoCoreUtils bool
11
12func init() {
13 // If TASK_CORE_UTILS is set to either true or false, respect that.
14 // By default, enable on Windows only.
15 if v, err := strconv.ParseBool(env.GetTaskEnv("CORE_UTILS")); err == nil {
16 useGoCoreUtils = v
17 } else {
18 useGoCoreUtils = runtime.GOOS == "windows"
19 }
20}

Callers

nothing calls this directly

Calls 1

GetTaskEnvFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…