pub fn resolve_all(&self) -> PackageSet {
        PackageSet {
            graph: DebugIgnore(self),
            core: ResolveCore::all_nodes(&self.dep_graph),
        }
    }
Creates a new `PackageSet` consisting of all members of this package graph.

This is normally the same as `query_workspace().resolve()`, but can differ if packages have
been replaced with `[patch]` or `[replace]`.

In most situations, `query_workspace` is preferred. Use `resolve_all` if you know you need
parts of the graph that aren't accessible from the workspace.
guppy/src/graph/resolve.rs