MCPcopy
hub / github.com/codedogQBY/ReadAny / readFileBytes

Method readFileBytes

packages/core/src/sync/sync-adapter.ts:31–31  ·  view source on GitHub ↗

Read a file as Uint8Array

(filePath: string)

Source from the content-addressed store, hash-verified

29
30 /** Read a file as Uint8Array */
31 readFileBytes(filePath: string): Promise<Uint8Array>;
32
33 /** Get file size in bytes, or null when unavailable. */
34 getFileSize(filePath: string): Promise<number | null>;

Callers 1

uploadFileToRemoteFunction · 0.65

Implementers 2

MobileSyncAdapterpackages/app-expo/src/lib/sync/sync-ad
DesktopSyncAdapterpackages/app/src/lib/sync/sync-adapter

Calls

no outgoing calls

Tested by

no test coverage detected