MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / listContributors

Function listContributors

scripts/fix_headers.py:68–78  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

66
67
68def listContributors(filename):
69 contributors = set()
70 result = subprocess.check_output(
71 ["git", "log", "--follow", "--format=format:%ad %an <%ae>", "--date=short", "--", filename],
72 text=True,
73 )
74 for line in result.split("\n"):
75 year = line[0:4]
76 name = line[11:]
77 contributors.add((year, name))
78 return contributors
79
80
81def extractBodyLines(lines):

Callers 1

generateLicenseSectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…