HomePhabricator
Diffusion Comm 2c4ed0da9cf0

[web] implement functions to import/export database content

Description

[web] implement functions to import/export database content

Summary:
This is using Emscripten virtual file API.

Gets/puts file content on which the native module operates.

Only worker (one thread) operates on file using synchronous API - there should be no problems with locks/parallel access.

Test Plan: Tests.

Reviewers: michal, tomek

Reviewed By: michal

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D8559

Details

Provenance
kamilAuthored on Jul 18 2023, 7:54 AM
Reviewer
michal
Differential Revision
D8559: [web] implement functions to import/export database content
Parents
rCOMM6bd9bba33bc9: [web] implement function to clear database content
Branches
Unknown
Tags
Unknown