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

Method commit

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

Write the current index to a new commit on HEAD.

(options: GitCommitOptions)

Source from the content-addressed store, hash-verified

246 rm(options: GitRmOptions): Promise<void>;
247 /** Write the current index to a new commit on HEAD. */
248 commit(options: GitCommitOptions): Promise<CommitResult>;
249 /** Walk commits from `ref` (default HEAD) backwards through history. */
250 log(options?: GitLogOptions): Promise<CommitView[]>;
251 /** Read a single commit by ref or oid. */

Callers 13

plumbing.test.tsFile · 0.65
commitFunction · 0.65
commitFunction · 0.65
cli.test.tsFile · 0.65
commitFunction · 0.65
staging.test.tsFile · 0.65
commitFileFunction · 0.65
diff.test.tsFile · 0.65
clone.test.tsFile · 0.65
commitFunction · 0.65
reads.test.tsFile · 0.65
runCommitFunction · 0.65

Calls

no outgoing calls

Tested by 5

commitFunction · 0.52
commitFunction · 0.52
commitFunction · 0.52
commitFileFunction · 0.52
commitFunction · 0.52