MCPcopy Create free account
hub / github.com/cloudflare/computer / clone

Function clone

packages/computer/src/git/index.ts:396–404  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

394
395 const client: GitClient = {
396 async clone(options) {
397 await cloneWith({
398 ...options,
399 fs: await fs(),
400 git: await loadGit<IsomorphicGitClient>(),
401 http: await loadHttp(),
402 cache,
403 });
404 },
405 async diff(options = {}) {
406 const f = await fs();
407 return diffWith({

Callers

nothing calls this directly

Calls 3

cloneWithFunction · 0.85
loadHttpFunction · 0.85
fsFunction · 0.70

Tested by

no test coverage detected