MCPcopy Index your code
hub / github.com/koding/kite / NewScrubber

Function NewScrubber

dnode/scrubber.go:16–20  ·  view source on GitHub ↗

New returns a pointer to a new Scrubber.

()

Source from the content-addressed store, hash-verified

14
15// New returns a pointer to a new Scrubber.
16func NewScrubber() *Scrubber {
17 return &Scrubber{
18 callbacks: make(map[uint64]func(*Partial)),
19 }
20}
21
22// RemoveCallback removes the callback with id from callbacks.
23// Can be used to remove unused callbacks to free memory.

Callers 2

TestScrubUnscrubFunction · 0.85
TestScrubFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestScrubUnscrubFunction · 0.68
TestScrubFunction · 0.68