(repo: Path, *, sha: str)
| 758 | |
| 759 | |
| 760 | def _commit_files(repo: Path, *, sha: str) -> list[dict[str, Any]]: |
| 761 | status_lines = _git_stdout(repo, ["show", "--find-renames", "--name-status", "--format=", sha]).splitlines() |
| 762 | numstat_lines = _git_stdout(repo, ["show", "--find-renames", "--numstat", "--format=", sha]).splitlines() |
| 763 | return _files_from_status_numstat(status_lines, numstat_lines) |
| 764 | |
| 765 | |
| 766 | def _files_from_status_numstat(status_lines: list[str], numstat_lines: list[str]) -> list[dict[str, Any]]: |
no test coverage detected