MCPcopy Index your code
hub / github.com/AI45Lab/Code / diff

Method diff

core/src/workspace/local.rs:371–374  ·  view source on GitHub ↗
(&self, request: WorkspaceGitDiffRequest)

Source from the content-addressed store, hash-verified

369 }
370
371 async fn diff(&self, request: WorkspaceGitDiffRequest) -> Result<String> {
372 self.run_blocking_git(move |root| crate::git::get_diff(&root, request.target.as_deref()))
373 .await
374 }
375
376 async fn list_remotes(&self) -> Result<Vec<WorkspaceGitRemote>> {
377 let (success, stdout, stderr) = self

Callers

nothing calls this directly

Calls 2

get_diffFunction · 0.85
run_blocking_gitMethod · 0.80

Tested by

no test coverage detected