pub fn derive_source_name( journal_path: &Path, explicit_name: Option<&str>, ) -> String
Derives a clean, trimmed source name for the database from a journal path.