Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/modelscope/modelscope
/ __init__
Method
__init__
modelscope/cli/clearcache.py:29–31 ·
view source on GitHub ↗
(self, args)
Source
from the content-addressed store, hash-verified
27
name =
'clear-cache'
28
29
def
__init__(self, args):
30
self.args = args
31
self.cache_dir = get_modelscope_cache_dir()
32
33
@staticmethod
34
def
register(subparsers) -> None:
Callers
nothing calls this directly
Calls
1
get_modelscope_cache_dir
Function · 0.90
Tested by
no test coverage detected