MCPcopy Index your code
hub / github.com/coder/coder / WithDumpOnFailure

Function WithDumpOnFailure

coderd/database/dbtestutil/db.go:45–49  ·  view source on GitHub ↗

WithDumpOnFailure will dump the entire database on test failure.

()

Source from the content-addressed store, hash-verified

43
44// WithDumpOnFailure will dump the entire database on test failure.
45func WithDumpOnFailure() Option {
46 return func(o *options) {
47 o.dumpOnFailure = true
48 }
49}
50
51func WithLogger(logger slog.Logger) Option {
52 return func(o *options) {

Calls

no outgoing calls