modified node/src/client/handle.rs
@@ -4,7 +4,7 @@ use crossbeam_channel as chan;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -55,28 +55,28 @@ pub struct Handle<W: Waker> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -102,14 +102,14 @@ pub mod traits {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/control.rs
@@ -9,7 +9,7 @@ use std::{fs, io, net};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -110,7 +110,7 @@ fn drain<H: Handle>(stream: &UnixStream, handle: &H) -> Result<(), DrainError> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -161,7 +161,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -169,7 +169,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/git.rs
@@ -4,7 +4,7 @@ use std::str::FromStr;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -43,7 +43,7 @@ pub fn remote_refs(url: &Url) -> Result<HashMap<RemoteId, Refs>, ListRefsError>
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/identity.rs
@@ -12,48 +12,47 @@ use crate::hash;
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -61,13 +60,13 @@ impl TryFrom<OsString> for ProjId {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -76,7 +75,7 @@ impl serde::Serialize for ProjId {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -143,7 +142,7 @@ impl fmt::Display for Did {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -177,7 +176,7 @@ pub struct Doc {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -185,7 +184,7 @@ impl Doc {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -203,11 +202,12 @@ impl Doc {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -219,17 +219,17 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified node/src/protocol.rs
@@ -21,7 +21,7 @@ use crate::address_manager::AddressManager;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -43,7 +43,7 @@ pub const MAX_TIME_DELTA: LocalDuration = LocalDuration::from_mins(60);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -91,11 +91,11 @@ pub enum FetchResult {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -151,8 +151,8 @@ impl<'r, T: WriteStorage<'r>, S: address_book::Store, G: crypto::Signer> Protoco
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -163,7 +163,7 @@ impl<'r, T: WriteStorage<'r>, S: address_book::Store, G: crypto::Signer> Protoco
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -180,8 +180,8 @@ impl<'r, T: WriteStorage<'r>, S: address_book::Store, G: crypto::Signer> Protoco
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -189,8 +189,8 @@ impl<'r, T: WriteStorage<'r>, S: address_book::Store, G: crypto::Signer> Protoco
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -236,13 +236,13 @@ impl<'r, T: WriteStorage<'r>, S: address_book::Store, G: crypto::Signer> Protoco
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -263,13 +263,13 @@ impl<'r, T: WriteStorage<'r>, S: address_book::Store, G: crypto::Signer> Protoco
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -366,27 +366,27 @@ where
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -407,7 +407,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -424,21 +424,21 @@ where
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -712,16 +712,16 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/protocol/config.rs
@@ -3,7 +3,7 @@ use std::net;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -34,9 +34,9 @@ impl Network {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -54,9 +54,9 @@ pub enum RemoteTracking {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -98,26 +98,26 @@ impl Config {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified node/src/protocol/message.rs
@@ -4,7 +4,7 @@ use git_url::Url;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -87,11 +87,11 @@ pub enum Message {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -101,9 +101,9 @@ pub enum Message {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -144,7 +144,7 @@ impl Message {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/protocol/peer.rs
@@ -194,13 +194,20 @@ impl Peer {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/rad.rs
@@ -6,7 +6,7 @@ use thiserror::Error;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -39,7 +39,7 @@ pub fn init<'r, S: storage::WriteStorage<'r>>(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -114,11 +114,11 @@ pub enum CheckoutError {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/storage.rs
@@ -18,13 +18,13 @@ use crate::crypto::{self, PublicKey, Unverified, Verified};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -38,7 +38,7 @@ pub enum Error {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -47,7 +47,7 @@ pub enum Error {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -113,7 +113,7 @@ impl<V> From<Remotes<V>> for HashMap<RemoteId, Refs> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -124,7 +124,7 @@ pub struct Remote<V> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -161,14 +161,14 @@ impl Remote<Verified> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -203,7 +203,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -215,7 +215,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -227,7 +227,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/storage/git.rs
@@ -11,7 +11,7 @@ pub use radicle_git_ext::Oid;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -38,7 +38,7 @@ impl fmt::Debug for Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -50,7 +50,7 @@ impl ReadStorage for Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -83,7 +83,7 @@ impl ReadStorage for Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -132,12 +132,12 @@ impl Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -423,7 +423,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/test/arbitrary.rs
@@ -11,7 +11,7 @@ use crate::crypto::{self, Signer};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -155,10 +155,10 @@ impl Arbitrary for MockSigner {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/test/fixtures.rs
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -9,7 +9,7 @@ use crate::test::crypto::MockSigner;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/test/handle.rs
@@ -2,29 +2,29 @@ use std::sync::{Arc, Mutex};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/test/storage.rs
@@ -2,7 +2,7 @@ use git_url::Url;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -38,7 +38,7 @@ impl ReadStorage for MockStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -59,7 +59,7 @@ impl ReadStorage for MockStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/test/tests.rs
@@ -181,7 +181,7 @@ fn test_tracking() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|