MCPcopy Index your code
hub / github.com/cockroachdb/errors / Run2

Function Run2

withstack/internal/run.go:23–25  ·  view source on GitHub ↗

Run2 is used in tests.

(callback func() error)

Source from the content-addressed store, hash-verified

21
22// Run2 is used in tests.
23func Run2(callback func() error) error {
24 return callback()
25}

Callers 1

RunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…