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

Function change

dangerfile.js:72–83  ·  view source on GitHub ↗
(decimal)

Source from the content-addressed store, hash-verified

70});
71
72function change(decimal) {
73 if (decimal === Infinity) {
74 return 'New file';
75 }
76 if (decimal === -1) {
77 return 'Deleted';
78 }
79 if (decimal < 0.0001) {
80 return '=';
81 }
82 return percentFormatter.format(decimal);
83}
84
85const header = `
86 | Name | +/- | Base | Current | +/- gzip | Base gzip | Current gzip |

Callers 1

rowFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected