Make ReadStorage more usable

Previously, we were not able to access a `ReadRepository` instance
through `ReadStorage`. With this change, we are able to.
This commit is contained in:
Alexis Sellier
2023-02-15 22:08:20 +01:00
parent 89fcc6de1c
commit 950fae209d
31 changed files with 134 additions and 71 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ use std::{thread, time};
use radicle::crypto::Signer;
use radicle::node::{FetchResult, Handle as _};
use radicle::storage::{ReadRepository, WriteStorage};
use radicle::storage::{ReadRepository, ReadStorage};
use radicle::{assert_matches, rad};
use crate::service;