(self, name, branch_or_hash, **kwargs)
| 135 | self.Git(MakeArgs(["checkout -f", branch_or_hash, "--", name]), **kwargs) |
| 136 | |
| 137 | def GitCheckoutFileSafe(self, name, branch_or_hash, **kwargs): |
| 138 | try: |
| 139 | self.GitCheckoutFile(name, branch_or_hash, **kwargs) |
| 140 | except GitFailedException: # pragma: no cover |
| 141 | # The file doesn't exist in that revision. |
| 142 | return False |
| 143 | return True |
| 144 | |
| 145 | def GitChangedFiles(self, git_hash, **kwargs): |
| 146 | assert git_hash |
nothing calls this directly
no test coverage detected