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

Function gitMainBaseline

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

* Returns the baseline commit from the main branch, regardless of running * environment. * @return {string}

()

Source from the content-addressed store, hash-verified

201 * @return {string}
202 */
203function gitMainBaseline() {
204 if (isCiBuild()) {
205 return gitCiMainBaseline();
206 }
207 return gitMergeBaseLocalMain();
208}
209
210/**
211 * Returns the diffs for given path based on the given commit

Callers 3

gitDiffNameOnlyMainFunction · 0.85
gitDiffStatMainFunction · 0.85
gitDiffFileMainFunction · 0.85

Calls 3

isCiBuildFunction · 0.85
gitCiMainBaselineFunction · 0.85
gitMergeBaseLocalMainFunction · 0.85

Tested by

no test coverage detected