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

Method is_repository

core/src/workspace/local.rs:297–300  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

295#[async_trait]
296impl WorkspaceGit for LocalWorkspaceBackend {
297 async fn is_repository(&self) -> Result<bool> {
298 self.run_blocking_git(|root| Ok(crate::git::is_git_repo(&root)))
299 .await
300 }
301
302 async fn status(&self) -> Result<WorkspaceGitStatus> {
303 self.run_blocking_git(|root| {

Callers 1

executeMethod · 0.45

Calls 2

is_git_repoFunction · 0.85
run_blocking_gitMethod · 0.80

Tested by

no test coverage detected