pub fn remove_worktree(
repo_root: &Path,
worktree_path: &Path,
) -> Result<(), PawError>Expand description
Removes the worktree at the given path.
The path should be the worktree directory path, not a branch name.
§Panics
Panics if the worktree path contains non-Unicode characters.