Files
astral-sh-uv/crates/uv-python
Tomasz Kramkowski 9945c92171 Clean up some junction related code (#19829)
## 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.
2026-06-15 16:19:19 +01:00
..
2026-06-11 17:39:38 +00:00
2026-06-11 17:39:38 +00:00

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.