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)
Tue, Dec 17, 9:24 PM
Unknown Object (File)
Sat, Dec 14, 5:09 AM
Unknown Object (File)
Sat, Dec 14, 5:09 AM
Unknown Object (File)
Sat, Dec 14, 5:09 AM
Unknown Object (File)
Sat, Dec 14, 5:09 AM
Unknown Object (File)
Sat, Dec 14, 5:08 AM
Unknown Object (File)
Sat, Dec 14, 5:01 AM
Unknown Object (File)
Tue, Dec 10, 9:37 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