Skip to main content

create_entry

Function create_entry 

Source
pub fn create_entry(
    state: &JournalState,
    fields: EntryFields,
) -> Result<PathBuf>
Expand description

Create a new entry in journal with the given fields.

fields.title defaults to "" when None; fields.body defaults to "".

Fails with: