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

Method git_branches

modules/handler.py:612–621  ·  view source on GitHub ↗

Query all branches of the file's repository.

(self)

Source from the content-addressed store, hash-verified

610 ])
611
612 def git_branches(self):
613 """Query all branches of the file's repository."""
614 template = (
615 '--format="%(refname)\a%(objectname:short) | %(subject)'
616 '\a%(committername) %(committeremail)\a%(committerdate)"'
617 )
618 return self.execute_async([
619 self._git_binary,
620 'for-each-ref', '--sort=-committerdate', template, 'refs/heads/'
621 ])
622
623 def git_tags(self):
624 """Query all tags of the file's repository.

Callers 1

set_against_branchFunction · 0.80

Calls 1

execute_asyncMethod · 0.95

Tested by

no test coverage detected