MCPcopy
hub / github.com/syncthing/syncthing / buildHost

Function buildHost

build.go:1086–1096  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1084}
1085
1086func buildHost() string {
1087 if v := os.Getenv("BUILD_HOST"); v != "" {
1088 return v
1089 }
1090
1091 h, err := os.Hostname()
1092 if err != nil {
1093 return "unknown-host"
1094 }
1095 return h
1096}
1097
1098func buildArch() string {
1099 os := goos

Callers 1

ldflagsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected