MCPcopy Index your code
hub / github.com/react/react / row

Function row

dangerfile.js:89–101  ·  view source on GitHub ↗
(result, baseSha, headSha)

Source from the content-addressed store, hash-verified

87 | ---- | --- | ---- | ------- | -------- | --------- | ------------ |`;
88
89function row(result, baseSha, headSha) {
90 const diffViewUrl = `https://react-builds.vercel.app/commits/${headSha}/files/${result.path}?compare=${baseSha}`;
91 const rowArr = [
92 `| [${result.path}](${diffViewUrl})`,
93 `**${change(result.change)}**`,
94 `${kbs(result.baseSize)}`,
95 `${kbs(result.headSize)}`,
96 `${change(result.changeGzip)}`,
97 `${kbs(result.baseSizeGzip)}`,
98 `${kbs(result.headSizeGzip)}`,
99 ];
100 return rowArr.join(' | ');
101}
102
103(async function () {
104 // Use git locally to grab the commit which represents the place

Callers 1

dangerfile.jsFile · 0.85

Calls 3

kbsFunction · 0.85
joinMethod · 0.80
changeFunction · 0.70

Tested by

no test coverage detected