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

Method setup

cli/command_content_stats.go:21–27  ·  view source on GitHub ↗
(svc appServices, parent commandParent)

Source from the content-addressed store, hash-verified

19}
20
21func (c *commandContentStats) setup(svc appServices, parent commandParent) {
22 cmd := parent.Command("stats", "Content statistics")
23 cmd.Flag("raw", "Raw numbers").Short('r').BoolVar(&c.raw)
24 c.contentRange.setup(cmd)
25 c.out.setup(svc)
26 cmd.Action(svc.directRepositoryReadAction(c.run))
27}
28
29type contentStatsTotals struct {
30 originalSize int64

Callers

nothing calls this directly

Calls 2

CommandMethod · 0.80

Tested by

no test coverage detected