Skip to main content

collect_workspace_changes_with_cancellation

Function collect_workspace_changes_with_cancellation 

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

Collects a local change set with caller-owned cooperative cancellation.

ยงErrors

Returns the same failures as collect_workspace_changes, including cancellation.