Skip to main content

sync_workspace_with_overrides

Function sync_workspace_with_overrides 

Source
pub fn sync_workspace_with_overrides(
    config_path: &Path,
    database_path: &Path,
    overrides: &ScanOverrides,
    synchronize_codegraph: bool,
) -> Result<SyncSummary, ApplicationError>
Expand description

Synchronizes initialized local CodeGraph indexes and then publishes an incremental graph snapshot.

The external index is optional and best effort: a missing or failed per-repository index is reported explicitly without preventing the native Code System Graph scan.

ยงErrors

Returns ApplicationError when workspace validation or the native incremental scan fails.