MCPcopy Create free account
hub / github.com/buggregator/server / decompressZlib

Function decompressZlib

modules/sentry/handler.go:349–356  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

347}
348
349func decompressZlib(data []byte) ([]byte, error) {
350 r, err := zlib.NewReader(bytes.NewReader(data))
351 if err != nil {
352 return nil, err
353 }
354 defer r.Close()
355 return io.ReadAll(r)
356}
357
358// isTransaction detects Sentry transaction payloads that should be stored
359// in structured tables but NOT appear in the global event feed.

Callers 1

decompressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected