MCPcopy
hub / github.com/cli/cli / possibleDists

Function possibleDists

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

Source from the content-addressed store, hash-verified

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

Callers 1

isBinExtensionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected