(svc appServices, parent commandParent)
| 19 | } |
| 20 | |
| 21 | func (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 | |
| 29 | type contentStatsTotals struct { |
| 30 | originalSize int64 |
nothing calls this directly
no test coverage detected