Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ _clean
Function
_clean
imperative/python/megengine/utils/persistent_cache.py:111–114 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
109
110
111
def
_clean():
112
nr_del = PersistentCacheOnServer().clean()
113
if
nr_del is not None:
114
print(
"{} cache entries deleted"
.format(nr_del))
115
116
117
def
main():
Callers
nothing calls this directly
Calls
4
PersistentCacheOnServer
Class · 0.85
print
Function · 0.85
clean
Method · 0.80
format
Method · 0.45
Tested by
no test coverage detected