Function cargo::ops::registry::get_source_id_with_package_id
source ยท fn get_source_id_with_package_id(
gctx: &GlobalContext,
package_id: Option<PackageId>,
reg_or_index: Option<&RegistryOrIndex>,
) -> CargoResult<(bool, RegistrySourceIds)>
Expand description
Very similar to get_source_id
, but is used when the package_id
is known.