pub(crate) fn projects(&self) -> Result<Vec<String>, Error> {
        let mut projects = self
            .metadata()?
            .into_iter()
            .map(|metadata| metadata.project)
            .collect::<Vec<_>>();

        projects.sort();
        projects.dedup();

        Ok(projects)
    }
/// Return a list of all projects referenced in the index.
Return a list of all projects referenced in the index.
Return a list of all projects referenced in the index .
pub(crate) fn projects(&self) -> Result<Vec<String>, Error> {
        let mut projects = self
            .metadata()?
            .into_iter()
            .map(|metadata| metadata.project)
            .collect::<Vec<_>>();
        projects.sort();
        projects.dedup();
        Ok(projects)
    }
pub ( crate ) fn projects ( & self ) -> Result < Vec < String > , Error > { let mut projects = self . metadata ( ) ? . into_iter ( ) . map ( | metadata | metadata . project ) . collect :: < Vec < _ > > ( ) ; projects . sort ( ) ; projects . dedup ( ) ; Ok ( projects ) }
Return a list of all projects referenced in the index.
Return a list of all projects referenced in the index .
&self
&self