Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ __read
Method
__read
recipes/Python/492209_dal1py/recipe-492209.py:141–146 ·
view source on GitHub ↗
(self, block)
Source
from the content-addressed store, hash-verified
139
140
# Private Utility Function
141
def
__read(self, block):
142
while
True:
143
try
:
144
return
self.__disk.read(block)
145
except
:
146
pass
147
148
# Private Utility Function
149
def
__write(self, block, data):
Callers
3
read
Method · 0.95
write
Method · 0.95
erase
Method · 0.95
Calls
1
read
Method · 0.45
Tested by
no test coverage detected