MCPcopy Create free account
hub / github.com/wal-e/wal-e / delete_before

Method delete_before

wal_e/operator/backup.py:415–418  ·  view source on GitHub ↗
(self, dry_run, segment_info)

Source from the content-addressed store, hash-verified

413 delete_cxt.delete_everything()
414
415 def delete_before(self, dry_run, segment_info):
416 conn = self.new_connection()
417 delete_cxt = self.worker.DeleteFromContext(conn, self.layout, dry_run)
418 delete_cxt.delete_before(segment_info)
419
420 def delete_with_retention(self, dry_run, num_to_retain):
421 conn = self.new_connection()

Callers 1

mainFunction · 0.45

Calls 1

new_connectionMethod · 0.95

Tested by

no test coverage detected