MCPcopy
hub / github.com/alibaba/EasyCV / clean_tmp

Method clean_tmp

easycv/utils/test_util.py:422–428  ·  view source on GitHub ↗
(self, tmp_file_list)

Source from the content-addressed store, hash-verified

420 **kwargs)
421
422 def clean_tmp(self, tmp_file_list):
423 for file in tmp_file_list:
424 if io.exists(file):
425 if io.isdir(file):
426 io.rmtree(file)
427 else:
428 io.remove(file)

Callers

nothing calls this directly

Calls 4

existsMethod · 0.45
isdirMethod · 0.45
rmtreeMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected