Skip to main content

analyze_workspace_changes_with_cancellation

Function analyze_workspace_changes_with_cancellation 

Source
pub async fn analyze_workspace_changes_with_cancellation(
    database_path: &Path,
    workspace: &str,
    input: &ChangesInput,
    options: &ChangeAnalysisOptions,
    git_binary: Option<OsString>,
    cancellation: &CancellationToken,
) -> Result<ToolEnvelope<ChangeImpactReport>, ApplicationError>
Expand description

Analyzes local changes with caller-owned cooperative cancellation.

ยงErrors

Returns the same failures as analyze_workspace_changes, including cancellation.