Function gix_ref::file::log::iter::forward

source ·
pub fn forward(lines: &[u8]) -> Forward<'_> 
Expand description

Returns a forward iterator over the given lines, starting from the first line in the file and ending at the last.

Note that lines are an entire reflog file.

This iterator is useful when the ref log file is going to be rewritten which forces processing of the entire file. It will continue parsing even if individual log entries failed to parse, leaving it to the driver to decide whether to abort or continue.