MCPcopy
hub / github.com/vercel-labs/just-bash / readFileBuffer

Method readFileBuffer

packages/just-bash/src/fs/interface.ts:155–155  ·  view source on GitHub ↗

* Read the contents of a file as a Uint8Array (binary) * @throws Error if file doesn't exist or is a directory

(path: string)

Source from the content-addressed store, hash-verified

153 * @throws Error if file doesn't exist or is a directory
154 */
155 readFileBuffer(path: string): Promise<Uint8Array>;
156
157 /**
158 * Write content to a file, creating it if it doesn't exist

Implementers 4

ReadWriteFspackages/just-bash/src/fs/read-write-f
OverlayFspackages/just-bash/src/fs/overlay-fs/o
InMemoryFspackages/just-bash/src/fs/in-memory-fs
MountableFspackages/just-bash/src/fs/mountable-fs

Calls

no outgoing calls

Tested by

no test coverage detected