Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GXimingLu/Quark
/ load_cache
Function
load_cache
utils/utils.py:126–130 ·
view source on GitHub ↗
(file: Path)
Source
from the content-addressed store, hash-verified
124
125
126
def
load_cache(file: Path):
127
if
file.exists():
128
with
file.open()
as
f:
129
for
line in tqdm(f, desc=f
'Loading cache from {file}'
):
130
yield
json.loads(line)
131
132
Callers
1
__init__
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected