MCPcopy
hub / github.com/lxc/incus / NewURL

Function NewURL

shared/api/url.go:14–16  ·  view source on GitHub ↗

NewURL creates a new URL.

()

Source from the content-addressed store, hash-verified

12
13// NewURL creates a new URL.
14func NewURL() *URL {
15 return &URL{}
16}
17
18// Scheme sets the scheme of the URL.
19func (u *URL) Scheme(scheme string) *URL {

Calls

no outgoing calls

Tested by 8

TestSchemeFunction · 0.68
TestHostFunction · 0.68
TestPathFunction · 0.68
TestProjectFunction · 0.68
TestTargetFunction · 0.68
TestWithQueryFunction · 0.68
TestURLStringFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…