Skip to main content

synchronize_registered_worktree_usage_with_catalog_validation

Function synchronize_registered_worktree_usage_with_catalog_validation 

Source
fn synchronize_registered_worktree_usage_with_catalog_validation<T>(
    control_db: &Path,
    control_root: &Path,
    expected_control_project: Option<ProjectInstanceId>,
    before_snapshot_revalidation: impl FnMut(&WorktreeRegistration, &Path) -> Result<(), CliError>,
    before_catalog_validation: impl FnOnce() -> Result<(), CliError>,
    read: impl FnOnce(&AtlasStore) -> DbResult<T>,
) -> Result<T, CliError>
Expand description

Synchronize active registrations with one injectable final catalog boundary.