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

Method setup

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

Source from the content-addressed store, hash-verified

16}
17
18func (c *commandLogsList) setup(svc appServices, parent commandParent) {
19 cmd := parent.Command("list", "List logs.").Alias("ls")
20
21 cmd.Action(svc.directRepositoryReadAction(c.run))
22
23 c.out.setup(svc)
24 c.crit.setup(cmd)
25}
26
27func (c *commandLogsList) run(ctx context.Context, rep repo.DirectRepository) error {
28 allSessions0, err := getLogSessions(ctx, rep.BlobReader())

Callers

nothing calls this directly

Calls 2

CommandMethod · 0.80

Tested by

no test coverage detected