1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 17:27:31 +00:00

fix rST warning in Repository.scan

This commit is contained in:
Marian Beermann 2017-02-11 16:07:55 +01:00
parent 0971fdce8d
commit e4486cd370

View file

@ -788,6 +788,7 @@ def scan(self, limit=None, marker=None):
fetching data in this order does linear reads and reuses stuff from disk cache.
We rely on repository.check() has run already (either now or some time before) and that:
- if we are called from a borg check command, self.index is a valid, fresh, in-sync repo index.
- if we are called from elsewhere, either self.index or the on-disk index is valid and in-sync.
- the repository segments are valid (no CRC errors).