TemporaryVault.populate method
TemporaryVault › populate
Writes files and folders into the vault directory. Parent directories are created automatically.-
string values are written as UTF-8 text files. - Uint8Array values (including Buffer) are written as binary files. - Paths ending with / are treated as empty folders (value must be undefined).Signature:
populate(files: PopulateFilesParams): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| files | PopulateFilesParams | Map of file/folder paths to content. |
Returns: void