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