MCPcopy Index your code
hub / github.com/modelscope/modelscope / get_default_modelscope_cache_dir

Function get_default_modelscope_cache_dir

modelscope/utils/file_utils.py:41–47  ·  view source on GitHub ↗

default base dir: '~/.cache/modelscope'

()

Source from the content-addressed store, hash-verified

39
40
41def get_default_modelscope_cache_dir():
42 """
43 default base dir: '~/.cache/modelscope'
44 """
45 default_cache_dir = os.path.expanduser(Path.home().joinpath(
46 '.cache', 'modelscope', 'hub'))
47 return default_cache_dir
48
49
50def get_modelscope_cache_dir() -> str:

Callers 1

get_modelscope_cache_dirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…