MCPcopy Create free account
hub / github.com/go-task/task / IsKnownOS

Function IsKnownOS

internal/goext/meta.go:7–10  ·  view source on GitHub ↗

NOTE(@andreynering): The lists in this file were copied from: https://github.com/golang/go/blob/master/src/go/build/syslist.go

(str string)

Source from the content-addressed store, hash-verified

5// https://github.com/golang/go/blob/master/src/go/build/syslist.go
6
7func IsKnownOS(str string) bool {
8 _, known := knownOS[str]
9 return known
10}
11
12func IsKnownArch(str string) bool {
13 _, known := knownArch[str]

Callers 1

parseOsOrArchMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…