mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-17 10:53:37 +00:00
Remove outdated comment on IndexLocations (#2996)
Closes https://github.com/astral-sh/uv/issues/2990.
This commit is contained in:
parent
d03e9f2b8c
commit
9d5467dc2f
1 changed files with 4 additions and 10 deletions
|
|
@ -171,15 +171,7 @@ impl Display for FlatIndexLocation {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The index locations to use for fetching packages.
|
/// The index locations to use for fetching packages. By default, uses the PyPI index.
|
||||||
///
|
|
||||||
/// By default, uses the PyPI index.
|
|
||||||
///
|
|
||||||
/// "pip treats all package sources equally" (<https://github.com/pypa/pip/issues/8606#issuecomment-788754817>),
|
|
||||||
/// and so do we, i.e., you can't rely that on any particular order of querying indices.
|
|
||||||
///
|
|
||||||
/// If the fields are none and empty, ignore the package index, instead rely on local archives and
|
|
||||||
/// caches.
|
|
||||||
///
|
///
|
||||||
/// From a pip perspective, this type merges `--index-url`, `--extra-index-url`, and `--find-links`.
|
/// From a pip perspective, this type merges `--index-url`, `--extra-index-url`, and `--find-links`.
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
|
|
@ -344,7 +336,9 @@ impl<'a> IndexUrls {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Return an iterator over all [`IndexUrl`] entries.
|
/// Return an iterator over all [`IndexUrl`] entries in order.
|
||||||
|
///
|
||||||
|
/// Prioritizes the extra indexes over the main index.
|
||||||
///
|
///
|
||||||
/// If `no_index` was enabled, then this always returns an empty
|
/// If `no_index` was enabled, then this always returns an empty
|
||||||
/// iterator.
|
/// iterator.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue