MCPcopy Index your code
hub / github.com/cli/safeexec / winonly

Function winonly

lookpath_test.go:159–164  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

157}
158
159func winonly(s string) string {
160 if runtime.GOOS == "windows" {
161 return s
162 }
163 return ""
164}

Callers 1

TestLookPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…