MCPcopy Index your code
hub / github.com/kopia/kopia / policyTargetURLParameters

Function policyTargetURLParameters

internal/serverapi/client_wrappers.go:177–179  ·  view source on GitHub ↗
(si snapshot.SourceInfo)

Source from the content-addressed store, hash-verified

175}
176
177func policyTargetURLParameters(si snapshot.SourceInfo) string {
178 return fmt.Sprintf("userName=%v&host=%v&path=%v", si.UserName, si.Host, si.Path)
179}
180
181// SetPolicy sets the policy.
182func SetPolicy(ctx context.Context, c *apiclient.KopiaAPIClient, si snapshot.SourceInfo, pol *policy.Policy) error {

Callers 2

SetPolicyFunction · 0.85
ResolvePolicyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected