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

Method create_branch

core/src/workspace/remote_git.rs:558–567  ·  view source on GitHub ↗
(&self, request: WorkspaceGitCreateBranchRequest)

Source from the content-addressed store, hash-verified

556 }
557
558 async fn create_branch(&self, request: WorkspaceGitCreateBranchRequest) -> Result<()> {
559 self.post_unit(
560 "branches/create",
561 &CreateBranchReq {
562 name: &request.name,
563 base: &request.base,
564 },
565 )
566 .await
567 }
568
569 async fn checkout(
570 &self,

Calls 1

post_unitMethod · 0.80

Tested by

no test coverage detected