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.