MCPcopy Create free account
hub / github.com/imroc/req / NewDumper

Function NewDumper

internal/dump/dump.go:131–137  ·  view source on GitHub ↗

NewDumper create a new Dumper.

(opt Options)

Source from the content-addressed store, hash-verified

129
130// NewDumper create a new Dumper.
131func NewDumper(opt Options) *Dumper {
132 d := &Dumper{
133 Options: opt,
134 ch: make(chan *dumpTask, 20),
135 }
136 return d
137}
138
139func (d *Dumper) SetOptions(opt Options) {
140 d.Options = opt

Callers 11

newDumperFunction · 0.92
TestDumperSyncFunction · 0.85
TestDumperAsyncFunction · 0.85
TestDumperCloneFunction · 0.85
TestDumperEmptyDataFunction · 0.85
TestDumpersShouldDumpFunction · 0.85

Calls

no outgoing calls

Tested by 10

TestDumperSyncFunction · 0.68
TestDumperAsyncFunction · 0.68
TestDumperCloneFunction · 0.68
TestDumperEmptyDataFunction · 0.68
TestDumpersShouldDumpFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…