MCPcopy Index your code
hub / github.com/coder/coder / uriFromURL

Function uriFromURL

coderd/externalauth.go:433–440  ·  view source on GitHub ↗
(u string)

Source from the content-addressed store, hash-verified

431}
432
433func uriFromURL(u string) string {
434 uri, err := url.Parse(u)
435 if err != nil {
436 return "/"
437 }
438
439 return uri.RequestURI()
440}

Callers 3

externalAuthCallbackMethod · 0.70
userOAuth2GithubMethod · 0.70
userOIDCMethod · 0.70

Calls 1

ParseMethod · 0.65

Tested by

no test coverage detected