MCPcopy Index your code
hub / github.com/borgbackup/borg / update

Method update

src/borg/archive.py:72–75  ·  view source on GitHub ↗
(self, size, unique)

Source from the content-addressed store, hash-verified

70 self.tx_bytes = 0
71
72 def update(self, size, unique):
73 self.osize += size
74 if unique:
75 self.usize += size
76
77 def __add__(self, other):
78 if not isinstance(other, Statistics):

Callers 12

statsFunction · 0.95
reuse_chunkMethod · 0.45
add_chunkMethod · 0.45
update_compatibilityMethod · 0.45
entry_hashMethod · 0.45
process_dir_with_fdMethod · 0.45
process_dirMethod · 0.45
process_fifoMethod · 0.45
process_devMethod · 0.45
process_symlinkMethod · 0.45
process_fileMethod · 0.45
set_rst_settingsFunction · 0.45

Calls

no outgoing calls

Tested by 1

statsFunction · 0.76