Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/impala
/ delete_virtualenv_if_exist
Function
delete_virtualenv_if_exist
infra/python/bootstrap_virtualenv.py:83–85 ·
view source on GitHub ↗
(venv_dir)
Source
from the content-addressed store, hash-verified
81
82
83
def
delete_virtualenv_if_exist(venv_dir):
84
if
os.path.exists(venv_dir):
85
shutil.rmtree(venv_dir)
86
87
88
def
detect_virtualenv_version():
Callers
2
setup_virtualenv_if_not_exists
Function · 0.85
bootstrap_virtualenv.py
File · 0.85
Calls
1
exists
Method · 0.45
Tested by
no test coverage detected