MCPcopy Create free account
hub / github.com/Drakkar-Software/OctoBot / _run_git_fetch

Method _run_git_fetch

octobot/updater/python_updater.py:107–110  ·  view source on GitHub ↗
(self, with_all=True, with_tags=True)

Source from the content-addressed store, hash-verified

105 stderr=subprocess.DEVNULL).decode().strip()
106
107 def _run_git_fetch(self, with_all=True, with_tags=True):
108 return self._run_git_command(["fetch",
109 "--all" if with_all else "",
110 "--tags" if with_tags else ""])
111
112 def _run_git_get_latest_tag(self):
113 return self._run_git_command(["describe", "--tags", self._run_git_get_last_tag_hash()])

Callers 1

get_latest_versionMethod · 0.95

Calls 1

_run_git_commandMethod · 0.95

Tested by

no test coverage detected