MCPcopy Create free account
hub / github.com/exercism/cli / Updater

Interface Updater

cli/cli.go:58–61  ·  view source on GitHub ↗

Updater is a simple upgradable file interface.

Source from the content-addressed store, hash-verified

56
57// Updater is a simple upgradable file interface.
58type Updater interface {
59 IsUpToDate() (bool, error)
60 Upgrade() error
61}
62
63// CLI is information about the CLI itself.
64type CLI struct {

Callers 4

newVersionStatusFunction · 0.65
updateCLIFunction · 0.65
checkForUpdateFunction · 0.65
updateCLIFunction · 0.65

Implementers 2

CLIcli/cli.go
fakeCLIcmd/upgrade_test.go

Calls

no outgoing calls

Tested by

no test coverage detected