Lines Matching refs:git_worktree_path
311 git_worktree_path = self.repo_path
315 git_worktree_path = os.path.join(self.repo_path,
319 git_worktree_path, self.git_rev], cwd=self.repo_path,
323 return git_worktree_path
335 def _build_libraries(self, git_worktree_path: str) -> None:
347 cwd=git_worktree_path, stderr=subprocess.STDOUT,
352 cwd=git_worktree_path, stderr=subprocess.STDOUT,
357 cwd=git_worktree_path, stderr=subprocess.STDOUT,
363 self._handle_called_process_error(e, git_worktree_path)
365 def _gen_raw_code_size(self, git_worktree_path: str) -> typing.Dict[str, str]:
376 [self.measure_cmd + ' ' + st_lib], cwd=git_worktree_path,
381 self._handle_called_process_error(e, git_worktree_path)
385 def _remove_worktree(self, git_worktree_path: str) -> None:
387 if git_worktree_path != self.repo_path:
389 .format(git_worktree_path))
392 git_worktree_path], cwd=self.repo_path,
397 git_worktree_path: str) -> None:
406 self._remove_worktree(git_worktree_path)
417 git_worktree_path = self._create_git_worktree()
419 self._build_libraries(git_worktree_path)
420 res = self._gen_raw_code_size(git_worktree_path)
422 self._remove_worktree(git_worktree_path)