| 43 | ) |
| 44 | |
| 45 | type reader struct { |
| 46 | zr *zstd.Reader |
| 47 | f *os.File |
| 48 | psnapshotter ps.Snapshotter |
| 49 | hsnapshotter handle.Snapshotter |
| 50 | filter filter.Filter |
| 51 | config *config.Config |
| 52 | mu sync.Mutex // guards the underlying zstd byte buffer |
| 53 | } |
| 54 | |
| 55 | // NewReader builds a new instance of the cap reader. |
| 56 | func NewReader(filename string, config *config.Config) (Reader, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected