pub fn src_files(&mut self) -> Vec<String> {
        if self.src_archive().is_none() {
            return Vec::new()
        }
        let archive = self.src_archive.as_ref().unwrap().as_ref().unwrap();
        let ret = archive.iter()
                         .filter(is_relevant_child)
                         .filter_map(|child| child.name())
                         .filter(|name| !self.removals.iter().any(|x| x == name))
                         .map(|name| name.to_string())
                         .collect();
        return ret;
    }
/// Lists all files in an archive
Lists all files in an archive
Lists all files in an archive
pub fn src_files(&mut self) -> Vec<String> {
        if self.src_archive().is_none() {
            return Vec::new()
        }
        let archive = self.src_archive.as_ref().unwrap().as_ref().unwrap();
        let ret = archive.iter()
                         .filter(is_relevant_child)
                         .filter_map(|child| child.name())
                         .filter(|name| !self.removals.iter().any(|x| x == name))
                         .map(|name| name.to_string())
                         .collect();
        return ret;
    }
pub fn src_files ( & mut self ) -> Vec < String > { if self . src_archive ( ) . is_none ( ) { return Vec :: new ( ) } let archive = self . src_archive . as_ref ( ) . unwrap ( ) . as_ref ( ) . unwrap ( ) ; let ret = archive . iter ( ) . filter ( is_relevant_child ) . filter_map ( | child | child . name ( ) ) . filter ( | name | ! self . removals . iter ( ) . any ( | x | x == name ) ) . map ( | name | name . to_string ( ) ) . collect ( ) ; return ret ; }
Lists all files in an archive
Lists all files in an archive
&mut self
&mut self