Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ Find
Function
Find
pkg/findsh/find.go:8–10 ·
view source on GitHub ↗
Find locates the `sh` interpreter on the system.
()
Source
from the content-addressed store, hash-verified
6
7
// Find locates the `sh` interpreter on the system.
8
func
Find() (string, error) {
9
return
exec.LookPath(
"sh"
)
10
}
Callers
1
findSh
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected