ObsidianTransport.pushFiles method
ObsidianTransport › pushFiles
Pushes files into a vault directory on the target device.On desktop this is a no-op (files are written to the local filesystem directly). On mobile this uses the device's file transfer mechanism (e.g. Appium
pushFile).Signature:
pushFiles(vaultPath: string, files: Record<string, Uint8Array<ArrayBufferLike>>): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| vaultPath | string | The absolute path to the vault folder. |
| files | Record<string, Uint8Array<ArrayBufferLike>> | Map of relative file paths to content buffers. |