MCPcopy Create free account
hub / github.com/commander-cli/commander / GetRetries

Method GetRetries

pkg/runtime/runner.go:111–116  ·  view source on GitHub ↗

GetRetries returns the retries of the command

()

Source from the content-addressed store, hash-verified

109
110// GetRetries returns the retries of the command
111func (c *CommandUnderTest) GetRetries() int {
112 if c.Retries == 0 {
113 return 1
114 }
115 return c.Retries
116}

Callers 2

RunMethod · 0.80
executeRetryIntervalFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected