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

Method clean_env

modelscope/utils/plugins.py:1261–1263  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1259 )
1260
1261 def clean_env(self):
1262 if os.path.exists(self.env_dir):
1263 self.env_builder.clear_directory(self.env_dir)
1264
1265 @staticmethod
1266 def run_process(cmd):

Callers 2

create_envMethod · 0.95
tearDownMethod · 0.80

Calls 1

existsMethod · 0.45

Tested by 1

tearDownMethod · 0.64