MCPcopy Create free account
hub / github.com/ElementsProject/elements / call_git_log

Function call_git_log

contrib/devtools/copyright_header.py:304–306  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

302GIT_LOG_CMD = "git log --pretty=format:%%ai %s"
303
304def call_git_log(filename):
305 out = subprocess.check_output((GIT_LOG_CMD % filename).split(' '))
306 return out.decode("utf-8").split('\n')
307
308def get_git_change_years(filename):
309 git_log_lines = call_git_log(filename)

Callers 1

get_git_change_yearsFunction · 0.85

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected