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

Method delete_old_versions

wal_e/operator/backup.py:404–408  ·  view source on GitHub ↗
(self, dry_run)

Source from the content-addressed store, hash-verified

402 return ret
403
404 def delete_old_versions(self, dry_run):
405 assert storage.CURRENT_VERSION not in storage.OBSOLETE_VERSIONS
406
407 for obsolete_version in storage.OBSOLETE_VERSIONS:
408 self.delete_all(dry_run, self.layout)
409
410 def delete_all(self, dry_run):
411 conn = self.new_connection()

Callers 1

mainFunction · 0.80

Calls 1

delete_allMethod · 0.95

Tested by

no test coverage detected