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

Function getTaskPath

signals_test.go:190–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

188}
189
190func getTaskPath() (string, error) {
191 if info, err := os.Stat("./bin/task"); err == nil {
192 return info.Name(), nil
193 }
194
195 if path, err := exec.LookPath("task"); err == nil {
196 return path, nil
197 }
198
199 return "", errors.New("task: \"task\" binary was not found!")
200}
201
202// Return the difference of the two lists: the elements that are present in the first
203// list, but not in the second one. The notion of presence is not with `=` but with

Callers 1

Calls 1

NameMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…