Skip to main content

reset_worktree_to_base_with_options

Function reset_worktree_to_base_with_options 

Source
pub fn reset_worktree_to_base_with_options(
    worktree_path: &Path,
    base_branch: &str,
    commit_message: &str,
    timeout: Duration,
    preserve_failure_mode: PreserveFailureMode,
) -> Result<WorktreeResetReason>