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)
Sat, Nov 23, 2:34 PM
Unknown Object (File)
Fri, Nov 22, 5:38 PM
Unknown Object (File)
Fri, Nov 22, 12:19 PM
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
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