MCPcopy
hub / github.com/cli/cli / isWindowsTarget

Function isWindowsTarget

script/build.go:115–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113}
114
115func isWindowsTarget() bool {
116 if os.Getenv("GOOS") == "windows" {
117 return true
118 }
119 if runtime.GOOS == "windows" {
120 return true
121 }
122 return false
123}
124
125func version() string {
126 if versionEnv := os.Getenv("GH_VERSION"); versionEnv != "" {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected