MCPcopy
hub / github.com/jisaacks/GitGutter / untracked

Method untracked

modules/handler.py:564–570  ·  view source on GitHub ↗

Determine whether the view shows an untracked file.

(self)

Source from the content-addressed store, hash-verified

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."""

Callers 1

Calls 2

execute_asyncMethod · 0.95
thenMethod · 0.80

Tested by

no test coverage detected