mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-16 05:20:04 +00:00
Remove unnecessary prefixes (#10158)
This commit is contained in:
parent
3cb723220e
commit
bec8468183
31 changed files with 124 additions and 175 deletions
|
@ -83,7 +83,7 @@ pub enum Error {
|
|||
#[error("Failed to read managed Python directory name: {0}")]
|
||||
NameError(String),
|
||||
#[error("Failed to construct absolute path to managed Python directory: {}", _0.user_display())]
|
||||
AbsolutePath(PathBuf, #[source] std::io::Error),
|
||||
AbsolutePath(PathBuf, #[source] io::Error),
|
||||
#[error(transparent)]
|
||||
NameParseError(#[from] installation::PythonInstallationKeyError),
|
||||
#[error(transparent)]
|
||||
|
@ -443,7 +443,7 @@ impl ManagedPythonInstallation {
|
|||
continue;
|
||||
}
|
||||
|
||||
match uv_fs::symlink_or_copy_file(&python, &executable) {
|
||||
match symlink_or_copy_file(&python, &executable) {
|
||||
Ok(()) => {
|
||||
debug!(
|
||||
"Created link {} -> {}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue