MCPcopy Create free account
hub / github.com/AI45Lab/Code / is_repository

Method is_repository

core/src/workspace/remote_git.rs:515–518  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

513#[async_trait]
514impl 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?;

Callers

nothing calls this directly

Calls 1

post_jsonMethod · 0.80

Tested by

no test coverage detected