MCPcopy
hub / github.com/kopia/kopia / EnvName

Method EnvName

cli/app.go:352–354  ·  view source on GitHub ↗

EnvName overrides the provided environment variable name for testability.

(n string)

Source from the content-addressed store, hash-verified

350
351// EnvName overrides the provided environment variable name for testability.
352func (c *App) EnvName(n string) string {
353 return c.envNamePrefix + n
354}
355
356// Attach attaches the CLI parser to the application.
357func (c *App) Attach(app *kingpin.Application) {

Callers 2

maybeCheckForUpdatesMethod · 0.95
setupMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected