Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cli/cli
/ normalizeHost
Function
normalizeHost
internal/skills/source/source.go:70–73 ·
view source on GitHub ↗
(host string)
Source
from the content-addressed store, hash-verified
68
}
69
70
func
normalizeHost(host string) string {
71
host = strings.TrimSpace(strings.ToLower(host))
72
return
strings.TrimPrefix(host,
"www."
)
73
}
Callers
1
ValidateSupportedHost
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected