Page MenuHomePhabricator

[web] implement functions to import/export database content
ClosedPublic

Authored by kamil on Jul 19 2023, 7:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 4:17 PM
Unknown Object (File)
Fri, Nov 1, 4:17 PM
Unknown Object (File)
Fri, Nov 1, 4:15 PM
Unknown Object (File)
Fri, Nov 1, 4:15 PM
Unknown Object (File)
Fri, Nov 1, 4:15 PM
Unknown Object (File)
Fri, Nov 1, 3:51 PM
Unknown Object (File)
Sat, Oct 26, 1:58 AM
Unknown Object (File)
Tue, Oct 15, 1:52 AM
Subscribers

Details

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.

Diff Detail

Repository
rCOMM Comm
Branch
land-wasm-tests
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Jul 19 2023, 9:10 AM
kamil edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Jul 21 2023, 6:31 AM
kamil edited the summary of this revision. (Show Details)

CI

Minor note – the filename worker-crypto-utlis.test.js has a typo

Minor note – the filename worker-crypto-utlis.test.js has a typo

Thanks for catching it, fixed in D8653