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

Method setup

cli/command_policy.go:25–35  ·  view source on GitHub ↗
(svc appServices, parent commandParent)

Source from the content-addressed store, hash-verified

23}
24
25func (c *commandPolicy) setup(svc appServices, parent commandParent) {
26 cmd := parent.Command("policy", "Commands to manipulate snapshotting policies.").Alias("policies")
27
28 c.edit.setup(svc, cmd)
29 c.list.setup(svc, cmd)
30 c.delete.setup(svc, cmd)
31 c.set.setup(svc, cmd)
32 c.show.setup(svc, cmd)
33 c.export.setup(svc, cmd)
34 c.pImport.setup(svc, cmd)
35}
36
37type policyTargetFlags struct {
38 targets []string

Callers

nothing calls this directly

Calls 1

CommandMethod · 0.80

Tested by

no test coverage detected