MCPcopy Create free account
hub / github.com/AdRoll/baker / SetOutputChannel

Method SetOutputChannel

input/inpututils/compressedstream.go:208–210  ·  view source on GitHub ↗
(data chan<- *baker.Data)

Source from the content-addressed store, hash-verified

206}
207
208func (s *CompressedInput) SetOutputChannel(data chan<- *baker.Data) {
209 s.data = data
210}
211
212func (s *CompressedInput) send(data *baker.Data) {
213 nlines := int64(bytes.Count(data.Bytes, []byte{'\n'}))

Callers 3

TestGzipStreamFunction · 0.95
RunMethod · 0.80
RunMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestGzipStreamFunction · 0.76