Skip to main content

remove_with

Function remove_with 

Source
pub fn remove_with(
    operations: &dyn RemoveOperations,
    request: &RemoveRequest<'_>,
) -> RemoveOutcome
Expand description

What: Remove the worktree if every condition holds; report how it ended. Why: LeftToGit means Git has to do the removal, and nothing was changed.

In TS you’d write (pseudocode):

async function removeWith(operations: RemoveOperations, request: RemoveRequest): Promise<RemoveOutcome>;