MCPcopy Index your code
hub / github.com/cli/safeexec / LookPath

Function LookPath

lookpath.go:11–17  ·  view source on GitHub ↗
(file string)

Source from the content-addressed store, hash-verified

9)
10
11func LookPath(file string) (string, error) {
12 path, err := exec.LookPath(file)
13 if errors.Is(err, exec.ErrDot) {
14 return path, nil
15 }
16 return path, err
17}

Callers 1

TestLookPathFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestLookPathFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…