5.3.1.21.8.1. cli.helpers.env_info.get_env_dir

cli.helpers.env_info.get_env_dir(is_repository_usage: bool, current_prefix: Path) → Path

Return the environment directory for repository or installation usage.

Parameters:
  • is_repository_usage – Whether the environment is for repository usage.

  • current_prefix – The current prefix path.

Returns:

The environment directory path.