radicle: Fix unverified `Remote::new` constructor
modified radicle-node/src/service.rs
@@ -868,9 +868,9 @@ where
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1033,10 +1033,7 @@ where
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -1212,7 +1209,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/service/message.rs
@@ -147,7 +147,7 @@ pub struct RefsAnnouncement {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -163,8 +163,8 @@ impl RefsAnnouncement {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -188,7 +188,7 @@ impl RefsAnnouncement {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -534,8 +534,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -588,9 +587,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/test/peer.rs
@@ -279,7 +279,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/tests.rs
@@ -1150,7 +1150,7 @@ fn test_refs_synced_event() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/wire.rs
@@ -429,6 +429,7 @@ impl<V> Encode for SignedRefs<V> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -438,10 +439,11 @@ impl<V> Encode for SignedRefs<V> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/storage.rs
@@ -205,8 +205,6 @@ impl<V> From<Remotes<V>> for HashMap<RemoteId, Refs> {
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -214,13 +212,10 @@ pub struct Remote<V = Verified> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
|
|
|
|
|
@@ -229,10 +224,9 @@ impl<V> Remote<V> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
|
|
|
|
|
@@ -240,15 +234,30 @@ impl Remote<Unverified> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/storage/git.rs
@@ -436,8 +436,8 @@ impl ReadRepository for Repository {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/storage/refs.rs
@@ -70,7 +70,7 @@ impl Refs {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -80,6 +80,7 @@ impl Refs {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -98,6 +99,7 @@ impl Refs {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -200,27 +202,34 @@ impl DerefMut for Refs {
|
|
|
|
|
|
| + | |
|
|
| + | |
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -238,16 +247,16 @@ impl SignedRefs<Unverified> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -262,6 +271,7 @@ impl SignedRefs<Verified> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -335,6 +345,7 @@ impl SignedRefs<Verified> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle/src/test/arbitrary.rs
@@ -4,7 +4,7 @@ use std::ops::RangeBounds;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -137,9 +137,10 @@ impl Arbitrary for SignedRefs<Unverified> {
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -195,7 +196,7 @@ impl Arbitrary for storage::Remote<crypto::Verified> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/test/storage.rs
@@ -151,10 +151,13 @@ impl ReadRepository for MockRepository {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -162,7 +165,15 @@ impl ReadRepository for MockRepository {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|