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

Method run

cli/command_repository_throttle_get.go:22–30  ·  view source on GitHub ↗
(_ context.Context, rep repo.DirectRepository)

Source from the content-addressed store, hash-verified

20}
21
22func (c *commandRepositoryThrottleGet) run(_ context.Context, rep repo.DirectRepository) error {
23 limits := rep.Throttler().Limits()
24
25 if err := c.ctg.output(&limits); err != nil {
26 return errors.Wrap(err, "output")
27 }
28
29 return nil
30}

Callers

nothing calls this directly

Calls 3

LimitsMethod · 0.65
ThrottlerMethod · 0.65
outputMethod · 0.45

Tested by

no test coverage detected