(t0)
| 207 | return t6; |
| 208 | } |
| 209 | function FileStats(t0) { |
| 210 | const $ = _c(20); |
| 211 | const { |
| 212 | file, |
| 213 | isSelected |
| 214 | } = t0; |
| 215 | if (file.isUntracked) { |
| 216 | const t1 = !isSelected; |
| 217 | let t2; |
| 218 | if ($[0] !== t1) { |
| 219 | t2 = <Text dimColor={t1} italic={true}>untracked</Text>; |
| 220 | $[0] = t1; |
| 221 | $[1] = t2; |
| 222 | } else { |
| 223 | t2 = $[1]; |
| 224 | } |
| 225 | return t2; |
| 226 | } |
| 227 | if (file.isBinary) { |
| 228 | const t1 = !isSelected; |
| 229 | let t2; |
| 230 | if ($[2] !== t1) { |
| 231 | t2 = <Text dimColor={t1} italic={true}>Binary file</Text>; |
| 232 | $[2] = t1; |
| 233 | $[3] = t2; |
| 234 | } else { |
| 235 | t2 = $[3]; |
| 236 | } |
| 237 | return t2; |
| 238 | } |
| 239 | if (file.isLargeFile) { |
| 240 | const t1 = !isSelected; |
| 241 | let t2; |
| 242 | if ($[4] !== t1) { |
| 243 | t2 = <Text dimColor={t1} italic={true}>Large file modified</Text>; |
| 244 | $[4] = t1; |
| 245 | $[5] = t2; |
| 246 | } else { |
| 247 | t2 = $[5]; |
| 248 | } |
| 249 | return t2; |
| 250 | } |
| 251 | let t1; |
| 252 | if ($[6] !== file.linesAdded || $[7] !== isSelected) { |
| 253 | t1 = file.linesAdded > 0 && <Text color="diffAddedWord" bold={isSelected}>+{file.linesAdded}</Text>; |
| 254 | $[6] = file.linesAdded; |
| 255 | $[7] = isSelected; |
| 256 | $[8] = t1; |
| 257 | } else { |
| 258 | t1 = $[8]; |
| 259 | } |
| 260 | const t2 = file.linesAdded > 0 && file.linesRemoved > 0 && " "; |
| 261 | let t3; |
| 262 | if ($[9] !== file.linesRemoved || $[10] !== isSelected) { |
| 263 | t3 = file.linesRemoved > 0 && <Text color="diffRemovedWord" bold={isSelected}>-{file.linesRemoved}</Text>; |
| 264 | $[9] = file.linesRemoved; |
| 265 | $[10] = isSelected; |
| 266 | $[11] = t3; |
nothing calls this directly
no outgoing calls
no test coverage detected