(&self)
| 513 | #[async_trait] |
| 514 | impl WorkspaceGit for RemoteGitBackend { |
| 515 | async fn is_repository(&self) -> Result<bool> { |
| 516 | let resp: ExistsResp = self.post_json("exists", &EmptyReq).await?; |
| 517 | Ok(resp.is_repository) |
| 518 | } |
| 519 | |
| 520 | async fn status(&self) -> Result<WorkspaceGitStatus> { |
| 521 | let resp: StatusResp = self.post_json("status", &EmptyReq).await?; |