MCPcopy Create free account
hub / github.com/cli/cli / isWindowsTarget

Function isWindowsTarget

script/build.go:141–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139}
140
141func isWindowsTarget() bool {
142 if os.Getenv("GOOS") == "windows" {
143 return true
144 }
145 if runtime.GOOS == "windows" {
146 return true
147 }
148 return false
149}
150
151func version() string {
152 if versionEnv := os.Getenv("GH_VERSION"); versionEnv != "" {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected