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 (latest)
Published
Feb 10, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
5 minutes ago

Tools for package owners.