(path: string)
| 22 | } |
| 23 | |
| 24 | async function statusOf(path: string): Promise<[number, number, number] | undefined> { |
| 25 | const matrix = await git.statusMatrix({ fs: memfs, dir: DIR }); |
| 26 | const row = matrix.find((r) => r[0] === path); |
| 27 | if (!row) return undefined; |
| 28 | return [row[1], row[2], row[3]]; |
| 29 | } |
| 30 | |
| 31 | describe("addWith", () => { |
| 32 | beforeEach(() => vol.reset()); |
no test coverage detected