Skip to main content

append_jsonl

Function append_jsonl 

Source
pub fn append_jsonl(path: &Path, record: &SyncRecord) -> SyncResult<()>
Expand description

Append a sync record to a JSONL file.

Each record is serialized as a single JSON line and appended to the file. The file is synced after each append for durability.

ยงErrors

Returns an error if the file cannot be opened or written.