MCPcopy
hub / github.com/pyodide/pyodide / from_git

Method from_git

tools/backport.py:89–92  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

87
88 @classmethod
89 def from_git(self, *args):
90 result = run(["git", "log", "--oneline", *args], capture_output=True)
91 lines = result.stdout.splitlines()
92 return CommitHistory(lines)
93
94 def __init__(self, lines):
95 commits = {}

Callers 3

get_commitsFunction · 0.80
clear_backport_prsFunction · 0.80
show_not_backportedFunction · 0.80

Calls 2

CommitHistoryClass · 0.85
runFunction · 0.70

Tested by

no test coverage detected