MCPcopy Create free account
hub / github.com/pytorch/pytorch / commit_files_changed

Function commit_files_changed

scripts/release_notes/common.py:170–173  ·  view source on GitHub ↗
(commit_hash)

Source from the content-addressed store, hash-verified

168
169
170def commit_files_changed(commit_hash):
171 cmd = f"git diff-tree --no-commit-id --name-only -r {commit_hash}"
172 ret, out, err = run(cmd)
173 return out.split("\n") if ret == 0 else None
174
175
176def parse_pr_number(body, commit_hash, title):

Callers 1

get_featuresFunction · 0.85

Calls 2

runFunction · 0.70
splitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…