MCPcopy
hub / github.com/kopia/kopia / run

Method run

cli/command_maintenance_run.go:26–35  ·  view source on GitHub ↗
(ctx context.Context, rep repo.DirectRepositoryWriter)

Source from the content-addressed store, hash-verified

24}
25
26func (c *commandMaintenanceRun) run(ctx context.Context, rep repo.DirectRepositoryWriter) error {
27 mode := maintenance.ModeQuick
28
29 if c.maintenanceRunFull {
30 mode = maintenance.ModeFull
31 }
32
33 //nolint:wrapcheck
34 return snapshotmaintenance.Run(ctx, rep, mode, c.maintenanceRunForce, c.safety)
35}

Callers

nothing calls this directly

Calls 1

RunFunction · 0.92

Tested by

no test coverage detected