pub fn import(&mut self, file: Option<PathBuf>) {
        let path_to_read = file.expect("Can't import file if no file is given");
        info!("importing content from {:?}", path_to_read);
        let count = self.feeds.len();
        import::import(&path_to_read, self);
        self.dirty = true;
        info!(
            "imported {} feeds from {:?}",
            self.feeds.len() - count,
            path_to_read
        );
    }
/// Import rss feeds provided as an opml file
/// see [import](rrss2imap::import::import) for implementation details

Import rss feeds provided as an opml file
see [import](rrss2imap::import::import) for implementation details
Import rss feeds provided as an opml file see [ import ] ( rrss2imap :: import :: import ) for implementation details
pub fn import(&mut self, file: Option<PathBuf>) {
        let path_to_read = file.expect("Can't import file if no file is given");
        info!("importing content from {:?}", path_to_read);
        let count = self.feeds.len();
        import::import(&path_to_read, self);
        self.dirty = true;
        info!(
            "imported {} feeds from {:?}",
            self.feeds.len() - count,
            path_to_read
        );
    }
pub fn import ( & mut self , file : Option < PathBuf > ) { let path_to_read = file . expect ( " " ) ; info ! ( " " path_to_read ) ; let count = self . feeds . len ( ) ; import :: import ( & path_to_read , self ) ; self . dirty = true ; info ! ( " " self feeds len ( ) count path_to_read ) ; }
Import rss feeds provided as an opml file
see [import](rrss2imap::import::import) for implementation details
Import rss feeds provided as an opml file see [ import ] ( rrss2imap :: import :: import ) for implementation details
&mut self
file
Option<PathBuf>
&mut self
file
Option<PathBuf>