( path: string, showAllUntracked?: boolean )
| 1561 | } |
| 1562 | |
| 1563 | export async function gitStatus( |
| 1564 | path: string, |
| 1565 | showAllUntracked?: boolean |
| 1566 | ): Promise<GitStatusEntry[]> { |
| 1567 | return getTransport().call("git_status", { |
| 1568 | path, |
| 1569 | showAllUntracked: showAllUntracked ?? null, |
| 1570 | }) |
| 1571 | } |
| 1572 | |
| 1573 | export async function gitDiff(path: string, file?: string): Promise<string> { |
| 1574 | return getTransport().call("git_diff", { path, file: file ?? null }) |
no test coverage detected