Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement
ops::Index
with PackageId
for Resolve
graph
While iterating through dependency packages, I find myself needing to look up dependency nodes recursively through the graph, in the same way that I need `Package` information for its `PackageId` via the already-existing `ops::Index` implementation on `Metadata`. This is simpler if the indexing operation is also available on a `Resolve`d graph.
- Loading branch information