MCPcopy Index your code
hub / github.com/ampproject/amphtml / gitDiffStatMain

Function gitDiffStatMain

build-system/common/git.js:76–79  ·  view source on GitHub ↗

* Returns the list of files changed relative to the branch point off of the * main branch in diffstat format. * @return {string}

()

Source from the content-addressed store, hash-verified

74 * @return {string}
75 */
76function gitDiffStatMain() {
77 const mainBaseline = gitMainBaseline();
78 return getStdout(`git -c color.ui=always diff --stat ${mainBaseline}`);
79}
80
81/**
82 * Returns a detailed log of commits included in a PR check, starting with (and

Callers 1

printChangeSummaryFunction · 0.85

Calls 2

gitMainBaselineFunction · 0.85
getStdoutFunction · 0.85

Tested by

no test coverage detected