MCPcopy
hub / github.com/borgbackup/borg / close

Method close

src/borg/legacyremote.py:856–859  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

854 )
855
856 def close(self):
857 self.log_instrumentation()
858 self.cache.clear()
859 shutil.rmtree(self.basedir)
860
861 def get_many(self, keys, read_data=True, cache=True, raise_missing=True):
862 # It could use different cache keys depending on read_data and cache full vs. meta-only chunks.

Callers 1

closeMethod · 0.45

Calls 2

log_instrumentationMethod · 0.95
clearMethod · 0.80

Tested by

no test coverage detected