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

Method _update

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

Source from the content-addressed store, hash-verified

680 return self.gl_repo.current_branch.branch_name == self.branch_name
681
682 def _update(self):
683 self.git_branch = self.gl_repo.git_repo.lookup_branch(
684 self.branch_name, pygit2.GIT_BRANCH_LOCAL)
685
686 def history(self, reverse=False):
687 return walker(self.gl_repo.git_repo, self.target, reverse=reverse)

Callers 2

headMethod · 0.95
targetMethod · 0.95

Calls 1

lookup_branchMethod · 0.45

Tested by

no test coverage detected