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

Method endpoint

core/src/workspace/remote_git.rs:222–224  ·  view source on GitHub ↗
(&self, op: &str)

Source from the content-addressed store, hash-verified

220 }
221
222 fn endpoint(&self, op: &str) -> String {
223 format!("{}/v1/repos/{}/git/{}", self.base_url, self.repo_id, op)
224 }
225
226 async fn post_json<Req, Resp>(&self, op: &'static str, body: &Req) -> Result<Resp>
227 where

Callers 3

post_jsonMethod · 0.45
post_unitMethod · 0.45
post_streamedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected