MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / _multi_remove_duli

Method _multi_remove_duli

mod/project/java/projectMod.py:3231–3239  ·  view source on GitHub ↗
(projects)

Source from the content-addressed store, hash-verified

3229
3230 @staticmethod
3231 def _multi_remove_duli(projects):
3232 for project in projects:
3233 # 关闭独立项目
3234 tomcat = utils.site_tomcat(project["name"])
3235 if tomcat:
3236 tomcat.stop()
3237 tomcat.remove_service()
3238 if os.path.exists(tomcat.path):
3239 shutil.rmtree(tomcat.path)
3240
3241 @staticmethod
3242 def _multi_remove_neizhi(projects):

Callers 1

multi_remove_projectMethod · 0.95

Calls 3

stopMethod · 0.45
remove_serviceMethod · 0.45
existsMethod · 0.45

Tested by

no test coverage detected