Function reconcile_all

Source
pub fn reconcile_all(
    repo_paths: &[PathBuf],
    obsidian_root_path_dir: &Path,
    obsidian_commit_path: &Path,
    template_commit_date_path: &str,
    template_commit_datetime: &str,
    excluded_repos: &[String],
    since: Option<DateTime<Utc>>,
) -> Result<Vec<ReconcileReport>, Box<dyn Error>>
Expand description

Reconciles every repository in repo_paths, in order.

A repository that cannot be opened or walked is reported on stderr and the pass continues to the next one. A reconcile that abandoned the remaining repositories because one of them is broken would leave the journal in a worse state than not running at all, and the next run would hit the same repository and stop in the same place.

ยงErrors

Never returns an error for a single bad repository; the Err arm is reserved for a caller-level fault.