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

Method send

input/inpututils/compressedstream.go:212–217  ·  view source on GitHub ↗
(data *baker.Data)

Source from the content-addressed store, hash-verified

210}
211
212func (s *CompressedInput) send(data *baker.Data) {
213 nlines := int64(bytes.Count(data.Bytes, []byte{'\n'}))
214 atomic.AddInt64(&s.numProcessedLines, nlines)
215
216 s.data <- data
217}
218
219// Enqueue a file for processing by compressedInput. This function must be called
220// by subclasses to schedule processing a (gzip|zstd) logfile.

Callers 1

parseFileTypedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected