/// Creates a new `PackageSet` consisting of the specified workspace packages by path.
///
/// This does not include transitive dependencies. To do so, use `query_workspace_paths`.
///
/// Returns an error if any workspace paths are unknown.
Creates a new `PackageSet` consisting of the specified workspace packages by path.
This does not include transitive dependencies. To do so, use `query_workspace_paths`.

Returns an error if any workspace paths are unknown.
Creates a new ` PackageSet ` consisting of the specified workspace packages by path . This does not include transitive dependencies . To do so use ` query_workspace_paths ` . Returns an error if any workspace paths are unknown .
pub fn resolve_workspace_paths(
        &self,
        paths: impl IntoIterator<Item = impl AsRef<Utf8Path>>,
    ) -> Result<PackageSet, Error> {
        let workspace = self.workspace();
        let included: IxBitSet = paths
            .into_iter()
            .map(|path| {
                workspace
                    .member_by_path(path.as_ref())
                    .map(|package| package.package_ix())
            })
            .collect::<Result<_, Error>>()?;
        Ok(PackageSet {
            graph: DebugIgnore(self),
            core: ResolveCore::from_included(included),
        })
    }
pub fn resolve_workspace_paths ( & self , paths : impl IntoIterator < Item = impl AsRef < Utf8Path > > , ) -> Result < PackageSet , Error > { let workspace = self . workspace ( ) ; let included : IxBitSet = paths . into_iter ( ) . map ( | path | { workspace . member_by_path ( path . as_ref ( ) ) . map ( | package | package . package_ix ( ) ) } ) . collect :: < Result < _ , Error > > ( ) ? ; Ok ( PackageSet { graph : DebugIgnore ( self ) , core : ResolveCore :: from_included ( included ) , } ) }
Creates a new `PackageSet` consisting of the specified workspace packages by path.
Creates a new ` PackageSet ` consisting of the specified workspace packages by path .
&self
paths
impl IntoIterator<Item = impl AsRef<Utf8Path>>