(workspace_id: string)
| 556 | } |
| 557 | |
| 558 | export async function getGitStatus(workspace_id: string): Promise<{ |
| 559 | branchName: string; |
| 560 | files: GitFileStatus[]; |
| 561 | stagedFiles: GitFileStatus[]; |
| 562 | unstagedFiles: GitFileStatus[]; |
| 563 | totalAdditions: number; |
| 564 | totalDeletions: number; |
| 565 | }> { |
| 566 | return invoke("get_git_status", { workspaceId: workspace_id }); |
| 567 | } |
| 568 | |
| 569 | export type InitGitRepoResponse = |
| 570 | | { status: "initialized"; commitError?: string } |
no outgoing calls
no test coverage detected