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

Method noRepositoryAction

cli/app.go:388–392  ·  view source on GitHub ↗
(act func(ctx context.Context) error)

Source from the content-addressed store, hash-verified

386}
387
388func (c *App) noRepositoryAction(act func(ctx context.Context) error) func(ctx *kingpin.ParseContext) error {
389 return func(kpc *kingpin.ParseContext) error {
390 return c.runAppWithContext(kpc.SelectedCommand, act)
391 }
392}
393
394func (c *App) serverAction(sf *serverClientFlags, act func(ctx context.Context, cli *apiclient.KopiaAPIClient) error) func(ctx *kingpin.ParseContext) error {
395 return func(kpc *kingpin.ParseContext) error {

Callers

nothing calls this directly

Calls 1

runAppWithContextMethod · 0.95

Tested by

no test coverage detected