Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_files
Function · 0.80
_read_chunk
Method · 0.80
_partial_flush
Method · 0.80
write
Method · 0.80
start
Method · 0.80
_files_preserve
Method · 0.80
test_defragment
Function · 0.80
test_refragment
Function · 0.80
test_exact_fragment
Function · 0.80
fake_fsync
Function · 0.80
test_creation_upper_dir
Function · 0.80
__call__
Method · 0.80
Calls
no outgoing calls
Tested by
6
test_defragment
Function · 0.64
test_refragment
Function · 0.64
test_exact_fragment
Function · 0.64
fake_fsync
Function · 0.64
test_creation_upper_dir
Function · 0.64
__call__
Method · 0.64