Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/saltstack/salt
/ reader
Function
reader
tests/pytests/unit/utils/test_mmap_cache.py:71–76 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
69
errs = []
70
71
def
reader():
72
try
:
73
for
_ in range(20):
74
cache.list_items()
75
except
Exception
as
exc:
# pylint: disable=broad-except
76
errs.append(exc)
77
78
def
writer():
79
try
:
Callers
1
run_chunked
Method · 0.50
Calls
2
list_items
Method · 0.80
append
Method · 0.45
Tested by
no test coverage detected