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

Method writeFileBytes

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

Write Uint8Array to a file

(filePath: string, data: Uint8Array)

Source from the content-addressed store, hash-verified

35
36 /** Write Uint8Array to a file */
37 writeFileBytes(filePath: string, data: Uint8Array): Promise<void>;
38
39 /** Copy file from source to destination */
40 copyFile(src: string, dest: string): Promise<void>;

Callers 1

downloadRemoteFileToPathFunction · 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