MCPcopy Create free account
hub / github.com/celer-pkg/celer / Reset

Method Reset

pkgs/cmd/exec.go:219–223  ·  view source on GitHub ↗

Reset delegates to the wrapped output if it supports resetting, so retry loops can clear captured data between attempts.

()

Source from the content-addressed store, hash-verified

217// Reset delegates to the wrapped output if it supports resetting,
218// so retry loops can clear captured data between attempts.
219func (t outputCapture) Reset() {
220 if r, ok := t.output.(resetable); ok {
221 r.Reset()
222 }
223}
224
225type resetable interface {
226 Reset()

Callers

nothing calls this directly

Calls 1

ResetMethod · 0.65

Tested by

no test coverage detected