Files
iroh/tests
Rüdiger Klaehn bdfd82f7cc Basic persistence (#832)
* feat(persistence): copy over directory functions from beetle

* feat: add snapshot type that deals with persistence

* test(persistence): add property based tests for db persistence

* feat(persistence): basic persistence works

* Make provider cloneable

* refactor:

provider is getting to big, so give it its own submodule and put database
in there.

* clippy

* fix: disable persistence in cli tests

* refactor: make the snapshot stuff just pub(crate)

so we don't bloat the public API

* fix: properly handle when iroh data dir does not exist yet

Also fix mixup of dir names

* fix: persist key in iroh data root if persistence is on

* pr: remove unused dev dependency and dead code annotation

* test: add basic test for persistence

* pr: remove key and persist options

it will now always persist.

Also fix the test by not mixing sync and async.
2023-03-17 13:54:19 +02:00
..
2023-03-17 13:54:19 +02:00