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

Method readAll

packages/computer/src/tools/fs/types.ts:36–36  ·  view source on GitHub ↗

* Read the entire file into memory. Used for images and for the * edit tool where fuzzy matching needs the whole buffer. Returns * null if missing.

(path: string)

Source from the content-addressed store, hash-verified

34 * null if missing.
35 */
36 readAll(path: string): Promise<Uint8Array | null>;
37
38 /**
39 * Overwrite (or create) a file with the given bytes. `opts.mode`

Callers 1

createEditToolFunction · 0.65

Implementers 1

WorkspaceFileStorepackages/computer/src/tools/fs/store.t

Calls

no outgoing calls

Tested by

no test coverage detected