Skip to main content

read_journal_file_lossy

Function read_journal_file_lossy 

Source
pub fn read_journal_file_lossy(path: &Path) -> Result<Vec<String>, LinkError>
Expand description

Complete lines of a file journal, in the form FileTransitionLog reads them, but tolerating damage it would reject: invalid UTF-8 becomes U+FFFD (so the checksum flags that record) and a missing file is empty.