[][src]Function tp_note::create_new_note_or_synchronize_filename

fn create_new_note_or_synchronize_filename(
    path: &Path
) -> Result<PathBuf, Error>

Create a new note by inserting tp-note's environment in a template. If the note to be created exists already, open it, read the YAML front matter and synchronize the filename if necessary.