MCPcopy
hub / github.com/syncthing/syncthing / buildArch

Function buildArch

build.go:1098–1104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1096}
1097
1098func buildArch() string {
1099 os := goos
1100 if os == "darwin" {
1101 os = "macos"
1102 }
1103 return fmt.Sprintf("%s-%s", os, goarch)
1104}
1105
1106func archiveName(target target) string {
1107 return fmt.Sprintf("%s-%s-%s", target.name, buildArch(), version)

Callers 1

archiveNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected