MCPcopy Index your code
hub / github.com/Threadfin/Threadfin / getBaseUrl

Function getBaseUrl

src/toolchain.go:458–464  ·  view source on GitHub ↗
(host string, port string)

Source from the content-addressed store, hash-verified

456}
457
458func getBaseUrl(host string, port string) string {
459 if strings.Contains(host, ":") {
460 return host
461 } else {
462 return fmt.Sprintf("%s:%s", host, port)
463 }
464}

Callers 6

InitFunction · 0.85
IndexFunction · 0.85
ThreadfinFunction · 0.85
WSFunction · 0.85
WebFunction · 0.85
APIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected