forked from TrueCloudLab/restic
4fd5f0b8a9
This pulls the header reads into a function that works in terms of the number of records requested. This preserves the existing logic of initially reading 15 records and then falling back if that fails. In the event of a header with more than 15 records, it will read all records, including the already-seen final 15 records. |
||
---|---|---|
.. | ||
doc.go | ||
pack.go | ||
pack_internal_test.go | ||
pack_test.go |