MCPcopy Create free account
hub / github.com/modelscope/modelscope / temp_file_manager

Function temp_file_manager

modelscope/msdatasets/utils/hf_file_utils.py:333–335  ·  view source on GitHub ↗
(mode='w+b')

Source from the content-addressed store, hash-verified

331
332 @contextmanager
333 def temp_file_manager(mode='w+b'):
334 with open(incomplete_path, mode) as f:
335 yield f
336
337 resume_size = 0
338 if resume_download:

Callers 2

get_from_cache_msFunction · 0.85
http_get_fileFunction · 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…