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

Method git_branch_name

modules/handler.py:640–644  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

638 ])
639
640 def git_branch_name(self):
641 return self.execute_async([
642 self._git_binary,
643 'rev-parse', '--abbrev-ref', 'HEAD'
644 ])
645
646 def git_branch_status(self):
647 """Query the current status of the file's repository."""

Callers 1

update_git_statusMethod · 0.80

Calls 1

execute_asyncMethod · 0.95

Tested by

no test coverage detected