pub fn parse_tag_file(request_sender: &RequestSender) -> Result<Vec<Group>, Error> {
    TagParser {
        parser: BaseParser {
            pos: 0,
            input: read_to_string(TAG_NAME)
                .with_context(|e| {
                    error!("Unable to read tag file!");
                    trace!("Possible I/O block when trying to read tag file...");
                    format!("{}", e)
                })
                .unwrap(),
        },
        request_sender: request_sender.clone(),
    }
    .parse_groups()
}
/// Creates instance of the parser and parses groups and tags.
Creates instance of the parser and parses groups and tags.
Creates instance of the parser and parses groups and tags .
pub fn parse_tag_file(request_sender: &RequestSender) -> Result<Vec<Group>, Error> {
    TagParser {
        parser: BaseParser {
            pos: 0,
            input: read_to_string(TAG_NAME)
                .with_context(|e| {
                    error!("Unable to read tag file!");
                    trace!("Possible I/O block when trying to read tag file...");
                    format!("{}", e)
                })
                .unwrap(),
        },
        request_sender: request_sender.clone(),
    }
    .parse_groups()
}
pub fn parse_tag_file ( request_sender : & RequestSender ) -> Result < Vec < Group > , Error > { TagParser { parser : BaseParser { pos : 0 , input : read_to_string ( TAG_NAME ) . with_context ( | e | { error ! ( " " ) ; trace ! ( " " ) ; format ! ( " " e ) } ) . unwrap ( ) , } , request_sender : request_sender . clone ( ) , } . parse_groups ( ) }
Creates instance of the parser and parses groups and tags.
Creates instance of the parser and parses groups and tags .
request_sender
&RequestSender
request_sender
&RequestSender