mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-02 04:48:18 +00:00
## Summary
The main motivation here is that the `.filename()` method that we
implement on `Url` will do URL decoding for the last segment, which we
were missing here.
The errors are a bit awkward, because in
`crates/uv-resolver/src/lock.rs`, we wrap in `failed to extract filename
from URL: {url}`, so in theory we want the underlying errors to _omit_
the URL? But sometimes they use `#[error(transparent)]`?
|
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||