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

Method clone

packages/computer/src/git/index.ts:234–234  ·  view source on GitHub ↗

Shallow-clone a remote into the bound workspace.

(options: GitCloneOptions)

Source from the content-addressed store, hash-verified

232export interface GitClient {
233 /** Shallow-clone a remote into the bound workspace. */
234 clone(options: GitCloneOptions): Promise<void>;
235 /** Unified diff between a ref (default HEAD) and the working tree. */
236 diff(options?: GitDiffOptions): Promise<string>;
237 /** Per-file change summary backing `--stat` / `--name-only` / `--name-status`. */

Callers 3

index.test.tsFile · 0.65
runCloneFunction · 0.65
#callGitMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected