Skip to main content

append_entry

Function append_entry 

Source
pub fn append_entry(
    storage_path: &Path,
    entry: &LedgerEntry,
) -> Result<(), String>
Expand description

Append a ledger entry to the NDJSON file. Creates the file if it doesn’t exist.