package pathcache

import "cmd/internal/pathcache"

Index

Functions

func LookPath

func LookPath(file string) (path string, err error)

LookPath wraps exec.LookPath and caches the result which can be called by multiple Goroutines at the same time.

Source Files

lookpath.go

Version
v1.24.0-rc.3
Published
Jan 31, 2025
Platform
js/wasm
Imports
2 packages
Last checked
3 minutes ago

Tools for package owners.