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

Method add

wal_e/pipebuf.py:71–73  ·  view source on GitHub ↗
(self, b)

Source from the content-addressed store, hash-verified

69 self.byteSz = 0
70
71 def add(self, b):
72 self._dq.append(b)
73 self.byteSz += len(b)
74
75 def get(self, n):
76 assert n <= self.byteSz, 'caller responsibility to ensure enough bytes'

Callers 12

_fsync_filesFunction · 0.80
_read_chunkMethod · 0.80
_partial_flushMethod · 0.80
writeMethod · 0.80
startMethod · 0.80
_files_preserveMethod · 0.80
test_defragmentFunction · 0.80
test_refragmentFunction · 0.80
test_exact_fragmentFunction · 0.80
fake_fsyncFunction · 0.80
test_creation_upper_dirFunction · 0.80
__call__Method · 0.80

Calls

no outgoing calls

Tested by 6

test_defragmentFunction · 0.64
test_refragmentFunction · 0.64
test_exact_fragmentFunction · 0.64
fake_fsyncFunction · 0.64
test_creation_upper_dirFunction · 0.64
__call__Method · 0.64