/// Find all files of the package.
Find all files of the package.
Find all files of the package .
pub fn find_files_for_package<'a>(
        &'a self,
        files: &'a [FileInformation],
    ) -> Vec<&'a FileInformation> {
        self.files
            .iter()
            .filter_map(|file| {
                files
                    .iter()
                    .find(|file_information| &file_information.file_spdx_identifier == file)
            })
            .collect()
    }
pub fn find_files_for_package < ' a > ( & ' a self , files : & ' a [ FileInformation ] , ) -> Vec < & ' a FileInformation > { self . files . iter ( ) . filter_map ( | file | { files . iter ( ) . find ( | file_information | & file_information . file_spdx_identifier == file ) } ) . collect ( ) }
Find all files of the package.
Find all files of the package .
&'a self
files
&'a [FileInformation]