uv/crates/uv-fs
Zanie Blue 5641f3a5d9
Add guard to replace_symlink on Windows (#4519)
`junction::create` apparently will happily succeed but not create a link
to files? Since our symlink function does not indicate that it cannot
handle files, this was quite surprising.


Tested over in #4509 which previously failed on an assertion that
`black.exe` existed.
```
error: Failed to install entrypoint
    Caused by: Cannot create a junction for [TEMP_DIR]/tools/black/Scripts/black.exe: is not a directory
```

We should file an issue upstream too, I think?
2024-06-25 13:47:40 -05:00
..
src Add guard to replace_symlink on Windows (#4519) 2024-06-25 13:47:40 -05:00
Cargo.toml Use a cross-platform representation for relative paths in pip compile (#3804) 2024-05-24 03:02:42 +00:00