mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-19 03:28:42 +00:00
Add support for emitting index URLs and --find-links (#1142)
Closes https://github.com/astral-sh/puffin/issues/1140.
This commit is contained in:
parent
abe1867a0d
commit
addb94fbd6
10 changed files with 181 additions and 33 deletions
|
|
@ -80,7 +80,7 @@ impl<'a> RegistryWheelIndex<'a> {
|
|||
|
||||
// Collect into owned `IndexUrl`
|
||||
let flat_index_urls: Vec<IndexUrl> = index_locations
|
||||
.flat_indexes()
|
||||
.flat_index()
|
||||
.filter_map(|flat_index| match flat_index {
|
||||
FlatIndexLocation::Path(_) => None,
|
||||
FlatIndexLocation::Url(url) => Some(IndexUrl::Url(url.clone())),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue