MCPcopy
hub / github.com/perkeep/perkeep / demote

Function demote

pkg/cmdmain/cmdmain.go:124–127  ·  view source on GitHub ↗
(c CommandRunner)

Source from the content-addressed store, hash-verified

122}
123
124func demote(c CommandRunner) bool {
125 i, ok := c.(Demoter)
126 return ok && i.Demote()
127}
128
129// RegisterMode adds a mode to the list of modes for the main command.
130// It is meant to be called in init() for each subcommand.

Callers 1

usageFunction · 0.85

Calls 1

DemoteMethod · 0.65

Tested by

no test coverage detected