MCPcopy Create free account
hub / github.com/apache/arrow / current_branch

Method current_branch

dev/archery/archery/utils/git.py:91–92  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

89
90 @capture_stdout(strip=True)
91 def current_branch(self, **kwargs):
92 return self.rev_parse("--abbrev-ref", "HEAD", **kwargs)
93
94 def repository_root(self, git_dir=None, **kwargs):
95 """ Locates the repository's root path from a subdirectory. """

Callers

nothing calls this directly

Calls 1

rev_parseMethod · 0.95

Tested by

no test coverage detected