go/src/cmd/internal/pathcache/lookpath.go

var lookPathCache

// LookPath wraps exec.LookPath and caches the result
// which can be called by multiple Goroutines at the same time.
func LookPath(file string) (path string, err error) {}