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

Method __enter__

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

Source from the content-addressed store, hash-verified

247 self.config_path = self.path / "config"
248
249 def __enter__(self):
250 self.open()
251 return self
252
253 def __exit__(self, exc_type, exc_val, exc_tb):
254 self.close()

Callers

nothing calls this directly

Calls 1

openMethod · 0.95

Tested by

no test coverage detected