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

Function possibleDists

pkg/cmd/extension/manager.go:799–847  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

797}
798
799func possibleDists() []string {
800 return []string{
801 "aix-ppc64",
802 "android-386",
803 "android-amd64",
804 "android-arm",
805 "android-arm64",
806 "darwin-amd64",
807 "darwin-arm64",
808 "dragonfly-amd64",
809 "freebsd-386",
810 "freebsd-amd64",
811 "freebsd-arm",
812 "freebsd-arm64",
813 "illumos-amd64",
814 "ios-amd64",
815 "ios-arm64",
816 "js-wasm",
817 "linux-386",
818 "linux-amd64",
819 "linux-arm",
820 "linux-arm64",
821 "linux-mips",
822 "linux-mips64",
823 "linux-mips64le",
824 "linux-mipsle",
825 "linux-ppc64",
826 "linux-ppc64le",
827 "linux-riscv64",
828 "linux-s390x",
829 "netbsd-386",
830 "netbsd-amd64",
831 "netbsd-arm",
832 "netbsd-arm64",
833 "openbsd-386",
834 "openbsd-amd64",
835 "openbsd-arm",
836 "openbsd-arm64",
837 "openbsd-mips64",
838 "plan9-386",
839 "plan9-amd64",
840 "plan9-arm",
841 "solaris-amd64",
842 "windows-386",
843 "windows-amd64",
844 "windows-arm",
845 "windows-arm64",
846 }
847}
848
849var hasRosetta = func() bool {
850 _, err := os.Stat("/Library/Apple/usr/libexec/oah/libRosettaRuntime")

Callers 1

isBinExtensionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected