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

Function possibleDists

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

Source from the content-addressed store, hash-verified

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

Callers 1

isBinExtensionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected