pathcache

Imports

Imports #

"cmd/internal/par"
"os/exec"

Constants & Variables

lookPathCache var #

var lookPathCache *ast.IndexListExpr

Functions

LookPath function #

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)

Generated with Arrow