Function gix_attributes::parse

source ·
pub fn parse(bytes: &[u8]) -> Lines<'_> 
Expand description

Parse attribute assignments line by line from bytes, and fail the operation on error.

For leniency, ignore errors using filter_map(Result::ok) for example.