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

Method delete

src/borg/archive.py:1049–1053  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1047 self.manifest.archives.delete_by_id(old_id)
1048
1049 def delete(self):
1050 # quick and dirty: we just nuke the archive from the archives list - that will
1051 # potentially orphan all chunks previously referenced by the archive, except the ones also
1052 # referenced by other archives. In the end, "borg compact" will clean up and free space.
1053 self.manifest.archives.delete_by_id(self.id)
1054
1055 @staticmethod
1056 def compare_archives_iter(

Callers 15

_delete_lockMethod · 0.45
verify_dataMethod · 0.45
saveMethod · 0.45
report_and_deleteMethod · 0.45
do_debug_delete_objMethod · 0.45
add_keysFunction · 0.45
test_basic_operationsFunction · 0.45
test_consistencyFunction · 0.45
test_max_data_sizeFunction · 0.45
test_sparse2Function · 0.45

Calls 1

delete_by_idMethod · 0.80

Tested by 15

add_keysFunction · 0.36
test_basic_operationsFunction · 0.36
test_consistencyFunction · 0.36
test_max_data_sizeFunction · 0.36
test_sparse2Function · 0.36
test_sparse_deleteFunction · 0.36