Run git diff to check for inserted, modified and deleted lines. Returns: Promise: The Promise object containing the processed git diff.
(self)
| 362 | return self.git_tracked |
| 363 | |
| 364 | def diff(self): |
| 365 | """Run git diff to check for inserted, modified and deleted lines. |
| 366 | |
| 367 | Returns: |
| 368 | Promise: The Promise object containing the processed git diff. |
| 369 | """ |
| 370 | return self.update_git_file().then(self._run_diff) |
| 371 | |
| 372 | def _run_diff(self, updated_git_file): |
| 373 | """Call git diff and return the decoded unified diff string. |
no test coverage detected