Skip to main content

read_journal

Function read_journal 

Source
pub fn read_journal(journal_path: &Path) -> Result<Option<Journal>>
Expand description

Read and parse a journal from disk. Returns None if the file doesn’t exist. Returns an error if the file exists but is corrupt/unparseable.