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

Method checkout

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

Move HEAD to a ref, or update working-tree paths to a ref.

(options: GitCheckoutOptions)

Source from the content-addressed store, hash-verified

274 tagList(options?: GitTagListOptions): Promise<string[]>;
275 /** Move HEAD to a ref, or update working-tree paths to a ref. */
276 checkout(options: GitCheckoutOptions): Promise<void>;
277 /** Fetch refs from a remote. */
278 fetch(options?: GitFetchOptions): Promise<FetchResult>;
279 /** Push local refs to a remote. */

Callers 5

worktree.test.tsFile · 0.65
clone.test.tsFile · 0.65
runCheckoutFunction · 0.65
runSwitchFunction · 0.65
createAndSwitchFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected