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

Method can_remove

mod/project/python/pyenv_tool.py:508–514  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

506
507 @property
508 def can_remove(self):
509 if self.env_type == "conda":
510 return False
511 if not self.bin_path.startswith(python_manager_path()) and \
512 not self.bin_path.startswith(pyenv_path()):
513 return False
514 return True
515
516 @property
517 def can_create(self):

Callers

nothing calls this directly

Calls 2

python_manager_pathFunction · 0.85
pyenv_pathFunction · 0.85

Tested by

no test coverage detected