Rename and document venv discoveries (#2334)
Preparing for #2058, i found it hard to follow where which discovery function gets called. I moved all the discovery functions to a `find_python` module (some exposed through `PythonEnvironment`) and documented which subcommand uses which python discovery strategy. No functional changes. 
This commit is contained in:
@@ -10,7 +10,7 @@ use uv_fs::{LockedFile, Simplified};
|
||||
use crate::cfg::PyVenvConfiguration;
|
||||
use crate::{find_default_python, find_requested_python, Error, Interpreter};
|
||||
|
||||
/// A Python environment, consisting of a Python [`Interpreter`] and a root directory.
|
||||
/// A Python environment, consisting of a Python [`Interpreter`] and its associated paths.
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct PythonEnvironment {
|
||||
root: PathBuf,
|
||||
|
||||
Reference in New Issue
Block a user