Skip to main content

with_synchronized_registered_worktree_usage

Function with_synchronized_registered_worktree_usage 

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

Synchronize active registrations and read the aggregate before catalog writers resume.