modified node/src/protocol.rs
@@ -24,7 +24,7 @@ use crate::protocol::config::ProjectTracking;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -81,7 +81,7 @@ pub struct Protocol<S, T, G> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -253,9 +253,9 @@ impl<T: ReadStorage + WriteStorage, S: address_book::Store, G: crypto::Signer> P
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -572,9 +572,9 @@ pub struct Context<S, T, G> {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/protocol/peer.rs
@@ -95,13 +95,13 @@ impl Peer {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/rad.rs
@@ -33,7 +33,7 @@ pub enum InitError {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/storage.rs
@@ -53,6 +53,12 @@ pub type RemoteId = UserId;
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -159,14 +165,17 @@ pub trait ReadStorage {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -177,10 +186,10 @@ pub trait ReadRepository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -207,10 +216,10 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/storage/git.rs
@@ -8,7 +8,6 @@ use once_cell::sync::Lazy;
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -16,7 +15,7 @@ use crate::identity::{ProjId, Project, UserId};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -58,7 +57,7 @@ impl ReadStorage for Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -79,7 +78,7 @@ impl ReadStorage for Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -221,7 +220,14 @@ impl Repository {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -281,24 +287,23 @@ impl ReadRepository for Repository {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -367,7 +372,13 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -377,7 +388,8 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -391,7 +403,8 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified node/src/storage/refs.rs
@@ -193,9 +193,9 @@ impl SignedRefs<Unverified> {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -204,9 +204,9 @@ impl SignedRefs<Verified> {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -228,7 +228,7 @@ impl SignedRefs<Verified> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/test/peer.rs
@@ -13,7 +13,7 @@ use crate::decoder::Decoder;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -32,9 +32,9 @@ pub struct Peer<S> {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -59,9 +59,9 @@ impl<S> DerefMut for Peer<S> {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/test/storage.rs
@@ -5,7 +5,7 @@ use crate::git;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -56,7 +56,7 @@ impl ReadStorage for MockStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -73,7 +73,13 @@ impl WriteStorage for MockStorage {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -82,7 +88,7 @@ impl ReadRepository for MockRepository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -115,7 +121,7 @@ impl ReadRepository for MockRepository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|