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

Method create_branch

core/src/workspace/local.rs:344–349  ·  view source on GitHub ↗
(&self, request: WorkspaceGitCreateBranchRequest)

Source from the content-addressed store, hash-verified

342 }
343
344 async fn create_branch(&self, request: WorkspaceGitCreateBranchRequest) -> Result<()> {
345 self.run_blocking_git(move |root| {
346 crate::git::create_branch(&root, &request.name, &request.base)
347 })
348 .await
349 }
350
351 async fn checkout(
352 &self,

Callers 1

branchMethod · 0.45

Calls 2

create_branchFunction · 0.85
run_blocking_gitMethod · 0.80

Tested by

no test coverage detected