mirror of
https://github.com/octoleo/restic.git
synced 2025-02-07 06:18:25 +00:00
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.