mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-10 15:26:23 -04:00
Mtime-based caching: stat the directory tree once per prompt (~2ms) and skip full activation when nothing has changed. - Compare PYENV_VERSION, VIRTUAL_ENV, PWD; shortcut when PYENV_VERSION matches - Walk PWD to / for .python-version (stop at first; include broken symlinks) - Path list built once on miss, stored as array (spaces in paths) - Global version file skipped when local version active - version-name hooks checked at init; if present, caching disabled - Covers bash, zsh, and fish |
||
|---|---|---|
| .. | ||
| stubs | ||
| tmp | ||
| activate.bats | ||
| conda-activate.bats | ||
| conda-deactivate.bats | ||
| conda-prefix.bats | ||
| conda.bats | ||
| deactivate.bats | ||
| delete.bats | ||
| envs.bats | ||
| hooks.bats | ||
| init.bats | ||
| installer.bats | ||
| pip.bats | ||
| prefix.bats | ||
| python.bats | ||
| pyvenv.bats | ||
| test_helper.bash | ||
| version.bats | ||
| virtualenv.bats | ||
| virtualenvs.bats | ||