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

Method ParseFile

input/inpututils/compressedstream.go:247–253  ·  view source on GitHub ↗
(fn string)

Source from the content-addressed store, hash-verified

245}
246
247func (s *CompressedInput) ParseFile(fn string) {
248 if strings.HasSuffix(fn, ".zst") || strings.HasSuffix(fn, ".zstd") {
249 s.parseFileTyped(fn, zstdCompression)
250 } else {
251 s.parseFileTyped(fn, gzipCompression)
252 }
253}
254
255func (s *CompressedInput) parseFileTyped(fn string, comp compressionType) {
256

Callers 2

workerMethod · 0.95
pollQueueMethod · 0.80

Calls 1

parseFileTypedMethod · 0.95

Tested by

no test coverage detected