(path: string, kind: Partial<Git.FileStat> = {})
| 10 | type Answer = (asked: readonly string[], nth: number) => Git.RunResult |
| 11 | |
| 12 | const rowOf = (path: string, kind: Partial<Git.FileStat> = {}) => ({ |
| 13 | path, |
| 14 | renamedFrom: null, |
| 15 | added: 1, |
| 16 | removed: 0, |
| 17 | isBinary: false, |
| 18 | isUntracked: false, |
| 19 | isPreSession: false, |
| 20 | ...kind, |
| 21 | }) |
| 22 | |
| 23 | const dataOf = ( |
| 24 | files: readonly Git.FileStat[], |