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

Method add

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

Stage paths into the index.

(options: GitAddOptions)

Source from the content-addressed store, hash-verified

242 status(options?: GitStatusOptions): Promise<StatusEntry[]>;
243 /** Stage paths into the index. */
244 add(options: GitAddOptions): Promise<void>;
245 /** Unstage paths from the index. */
246 rm(options: GitRmOptions): Promise<void>;
247 /** Write the current index to a new commit on HEAD. */

Callers 15

fetch.test.tsFile · 0.65
collectObjectsFunction · 0.65
collectHashesFunction · 0.65
hasObjectsFunction · 0.65
tickFunction · 0.65
reconcileDiskToVfsFunction · 0.65
computerd.test.tsFile · 0.65
notImplementedFunction · 0.65
readdirFunction · 0.65
pullOnceImplFunction · 0.65
pushOnceFunction · 0.65
wire.test.tsFile · 0.65

Calls

no outgoing calls

Tested by 10

collectObjectsFunction · 0.52
collectHashesFunction · 0.52
stageFunction · 0.52
commitFunction · 0.52
commitFunction · 0.52
commitFunction · 0.52
commitFileFunction · 0.52
commitFunction · 0.52
remoteAddFunction · 0.52
startContainerFunction · 0.52