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

Method ServerURL

codersdk/toolsdk/toolsdk.go:92–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90}
91
92func (d Deps) ServerURL() string {
93 serverURLCopy := *d.coderClient.URL
94 serverURLCopy.Path = ""
95 serverURLCopy.RawQuery = ""
96 return serverURLCopy.String()
97}
98
99func WithTaskReporter(fn func(ReportTaskArgs) error) func(*Deps) {
100 return func(d *Deps) {

Callers 4

searchTemplatesFunction · 0.80
searchWorkspacesFunction · 0.80
fetchWorkspaceFunction · 0.80
fetchTemplateFunction · 0.80

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected