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

Function possibleDists

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

Source from the content-addressed store, hash-verified

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

Callers 1

isBinExtensionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected