pub fn inspect_ledger_journal(journal_path: &Path) -> Result<ParsedJournal>Expand description
Parses and validates ledger-journal.jsonl:
- Any complete (
\n-terminated) line that fails JSON parsing orverify_sha256()is rejected as hard corruption. - Only an unterminated final line (not ending in
\n) is reported intorn_trailing_fragment.