mirror of
https://github.com/astral-sh/uv
synced 2026-06-21 13:47:25 +00:00
9945c92171
## Summary While centralising the whole environment, I noticed that this code was unnecessarily complicated so I deleted it. Using `remove_dir` instead of `junction::delete` also fixes a bug of sorts if we were to actually encounter a regular directory symlink on windows. `junction::get_target` has this weird quirk where it will produce non-verbatim long paths. This means that prefix comparisons will work assuming the prefix isn't a verbatim path (so actually this is a bug disguised as a feature). To avoid the opposite issue in this case, it's necessary to verbatim both paths. ## Test Plan Existing coverage, some augmentations, and a targeted test for a verbatim_path idiom.
uv-python
This crate is an internal component of uv. The Rust API exposed here is unstable and will have frequent breaking changes.
This version (0.0.54) is a component of uv 0.11.21. The source can be found here.
See uv's crate versioning policy for details on versioning.