pub fn read_jsonl(path: &Path) -> SyncResult<Vec<SyncRecord>>Expand description
Read all sync records from a JSONL file.
Each line is parsed as a SyncRecord. Invalid lines cause an error
with the line number for debugging.
ยงErrors
Returns an error if:
- The file cannot be opened
- Any line cannot be parsed as a valid
SyncRecord