Skeudenn / main/db/import-service / readExportFile
Function: readExportFile() ​
readExportFile(
filePath,maxBytes?):Promise<string>
Defined in: src/main/db/import-service.ts:64
The text of an export file picked by the user, refused above maxBytes before it is read into memory.
Parameters ​
filePath ​
string
maxBytes? ​
number = MAX_IMPORT_BYTES
Returns ​
Promise<string>