MCPcopy Index your code
hub / github.com/borgbackup/borg / files

Method files

src/borg/cache.py:458–465  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

456
457 @property
458 def files(self):
459 if self._files is None:
460 self._files = self._read_files_cache() # try loading from cache dir
461 if self._files is None:
462 self._files = self._build_files_cache() # try loading from repository
463 if self._files is None:
464 self._files = {} # start from scratch
465 return self._files
466
467 def _build_files_cache(self):
468 """rebuild the files cache by reading previous archive from repository"""

Callers

nothing calls this directly

Calls 2

_read_files_cacheMethod · 0.95
_build_files_cacheMethod · 0.95

Tested by

no test coverage detected