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

Function SyncResponseLocation

internal/server/response/response.go:137–139  ·  view source on GitHub ↗

SyncResponseLocation returns a new syncResponse with a location.

(success bool, metadata any, location string)

Source from the content-addressed store, hash-verified

135
136// SyncResponseLocation returns a new syncResponse with a location.
137func SyncResponseLocation(success bool, metadata any, location string) Response {
138 return &syncResponse{success: success, metadata: metadata, location: location}
139}
140
141// SyncResponseRedirect returns a new syncResponse with a location, indicating
142// a permanent redirect.

Callers 15

storagePoolBucketsPostFunction · 0.92
networkIntegrationsPostFunction · 0.92
networkACLsPostFunction · 0.92
networkACLPostFunction · 0.92
networkPeersPostFunction · 0.92
networkForwardsPostFunction · 0.92
profilesPostFunction · 0.92
profilePostFunction · 0.92
networksPostFunction · 0.92
networkPostFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…