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

Method setup

cli/command_repository_throttle_get.go:15–20  ·  view source on GitHub ↗
(svc appServices, parent commandParent)

Source from the content-addressed store, hash-verified

13}
14
15func (c *commandRepositoryThrottleGet) setup(svc appServices, parent commandParent) {
16 cmd := parent.Command("get", "Get throttling parameters for a repository")
17 c.ctg.setup(svc, cmd)
18
19 cmd.Action(svc.directRepositoryReadAction(c.run))
20}
21
22func (c *commandRepositoryThrottleGet) run(_ context.Context, rep repo.DirectRepository) error {
23 limits := rep.Throttler().Limits()

Callers

nothing calls this directly

Calls 2

CommandMethod · 0.80

Tested by

no test coverage detected