MCPcopy
hub / github.com/gitless-vcs/gitless / head

Method head

gitless/core.py:602–604  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

600
601 @property
602 def head(self):
603 self._update()
604 return self.git_branch.peel()
605
606 def history(self, reverse=False):
607 return walker(self.gl_repo.git_repo, self.target, reverse=reverse)

Callers

nothing calls this directly

Calls 1

_updateMethod · 0.95

Tested by

no test coverage detected