(array, start)
| 1097 | return arrayStartsWith(a, b); |
| 1098 | } |
| 1099 | function arrayStartsWith(array, start) { |
| 1100 | if (start.length > array.length) { |
| 1101 | return false; |
| 1102 | } |
| 1103 | |
| 1104 | for (var i = 0; i < start.length; i++) { |
| 1105 | if (start[i] !== array[i]) { |
| 1106 | return false; |
| 1107 | } |
| 1108 | } |
| 1109 | |
| 1110 | return true; |
| 1111 | } |
| 1112 | |
| 1113 | function calcLineCount(hunk) { |
| 1114 | var _calcOldNewLineCount = calcOldNewLineCount(hunk.lines), |
no outgoing calls
no test coverage detected