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

Method close

src/borg/remote.py:391–396  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

389 return self.repository.id
390
391 def close(self):
392 if self.repository is not None:
393 self.repository.__exit__(None, None, None)
394 self.repository = None
395 borg.logger.flush_logging()
396 self.send_queued_log()
397
398 def inject_exception(self, kind):
399 s1 = "test string"

Callers

nothing calls this directly

Calls 2

send_queued_logMethod · 0.95
__exit__Method · 0.45

Tested by

no test coverage detected