Determine whether the view shows an untracked file.
(self)
| 562 | return ([], -1, -1, {}) |
| 563 | |
| 564 | def untracked(self): |
| 565 | """Determine whether the view shows an untracked file.""" |
| 566 | return self.execute_async([ |
| 567 | self._git_binary, |
| 568 | 'ls-files', '--other', '--exclude-standard', |
| 569 | self._git_path |
| 570 | ]).then(lambda x: bool(x)) |
| 571 | |
| 572 | def ignored(self): |
| 573 | """Determine whether the view shows an ignored file.""" |
no test coverage detected