Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/irbis-sh/zen-desktop
/ renderURLWithoutPort
Function
renderURLWithoutPort
internal/networkrules/networkrules.go:140–149 ·
view source on GitHub ↗
(u *url.URL)
Source
from the content-addressed store, hash-verified
138
}
139
140
func
renderURLWithoutPort(u *url.URL) string {
141
stripped := url.URL{
142
Scheme: u.Scheme,
143
Host: u.Hostname(),
144
Path: u.Path,
145
RawQuery: u.RawQuery,
146
}
147
148
return
stripped.String()
149
}
Callers
2
ModifyReq
Method · 0.85
ModifyRes
Method · 0.85
Calls
1
String
Method · 0.80
Tested by
no test coverage detected