parameters: (self, git_worktree_path)
docstring: Remove the specified git worktree.
docstring_summary: Remove the specified git worktree.
docstring_tokens: Remove the specified git worktree .
function: def _cleanup_worktree(self, git_worktree_path):
          """Remove the specified git worktree."""
          shutil.rmtree(git_worktree_path)
          worktree_output = subprocess.check_output(
              [self.git_command, "worktree", "prune"],
              cwd=self.repo_path,
              stderr=subprocess.STDOUT
          )
          self.log.debug(worktree_output.decode("utf-8"))
function_tokens: def _cleanup_worktree ( self , git_worktree_path ) : shutil . rmtree ( git_worktree_path ) worktree_output = subprocess . check_output ( [ self . git_command , "worktree" , "prune" ] , cwd = self . repo_path , stderr = subprocess . STDOUT ) self . log . debug ( worktree_output . decode ( "utf-8" ) )