Skip to main content

parse_metadata

Function parse_metadata 

Source
pub fn parse_metadata(line: &str) -> Metadata
Expand description

name, key="value", key=value: the items separated by commas outside quotes. A first item with no = is the title. A line with anything else, or with no pairs, is kept raw only.