pub fn get_active_entries_dir(
notebook_override: Option<String>,
) -> Result<PathBuf>
Expand description
Gets the entries
directory for the currently active notebook.
This is the core of the multi-notebook feature. It resolves the path based on this priority:
- The
--notebook
command-line flag (passed in asnotebook_override
). - The
RJOT_ACTIVE_NOTEBOOK
environment variable. - The “default” notebook if neither is set.
It will automatically create the notebook directory if it doesn’t exist.