Rust 2024
Switch from Rust 2021 to Rust 2024.
- See https://doc.rust-lang.org/edition-guide/rust-2024/.
- Regarding the added bound
use<>, see https://blog.rust-lang.org/2024/09/05/impl-trait-capture-rules/. - Reformat code with
rustfmt, now that the edition changed from Rust 2021 to Rust 2024.
256 files changed
+1165
-1057
edde15d9
→
8bac24d6
modified .rustfmt.toml
@@ -1 +1 @@
| - | |
| + | |
modified Cargo.toml
@@ -3,7 +3,7 @@ members = ["crates/*"]
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/auth.rs
@@ -3,13 +3,13 @@ mod args;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/block/args.rs
@@ -16,8 +16,8 @@ pub struct Args {
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/checkout.rs
@@ -3,8 +3,8 @@ mod args;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/clone/args.rs
@@ -2,15 +2,15 @@ use std::path::PathBuf;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/cob.rs
@@ -21,7 +21,7 @@ use crate::terminal as term;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/cob/args.rs
@@ -339,8 +339,8 @@ impl std::str::FromStr for FilteredTypeName {
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/config.rs
@@ -5,7 +5,7 @@ use args::Command;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/follow.rs
@@ -1,7 +1,7 @@
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/fork/args.rs
@@ -25,8 +25,8 @@ pub struct Args {
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/id.rs
@@ -2,21 +2,21 @@ mod args;
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
|
|
| + | |
|
|
| - | |
| - | |
| + | |
|
|
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/id/args.rs
@@ -8,9 +8,9 @@ use serde_json as json;
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
@@ -240,9 +240,9 @@ pub(super) enum Command {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/inbox.rs
@@ -9,8 +9,8 @@ use anyhow::anyhow;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -18,7 +18,7 @@ use radicle::node::notifications::*;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/init.rs
@@ -10,7 +10,7 @@ use std::convert::TryFrom;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -21,9 +21,9 @@ use radicle::git::raw::ErrorExt as _;
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -63,7 +63,9 @@ pub fn init(repo: git::Repository, args: Args, profile: &profile::Profile) -> an
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -209,7 +211,9 @@ pub fn init(repo: git::Repository, args: Args, profile: &profile::Profile) -> an
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -445,7 +449,8 @@ pub fn announce(
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/init/args.rs
@@ -2,7 +2,7 @@ use std::path::PathBuf;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -115,8 +115,8 @@ impl clap::builder::TypedValueParser for ScopeParser {
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/inspect.rs
@@ -11,15 +11,15 @@ use chrono::prelude::*;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/issue.rs
@@ -6,18 +6,18 @@ use anyhow::Context as _;
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -25,10 +25,10 @@ use args::{Assigned, Command, CommentAction, StateArg};
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/issue/args.rs
@@ -4,7 +4,7 @@ use clap::{Parser, Subcommand};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/issue/cache.rs
@@ -1,9 +1,9 @@
|
|
|
|
| + | |
|
|
| - | |
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/issue/comment.rs
@@ -1,12 +1,12 @@
| + | |
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/node.rs
@@ -7,11 +7,11 @@ pub mod routing;
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/node/control.rs
@@ -4,14 +4,14 @@ use std::fs::File;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/patch.rs
@@ -22,10 +22,10 @@ use std::collections::BTreeSet;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/patch/cache.rs
@@ -1,9 +1,9 @@
|
|
|
|
| + | |
|
|
| - | |
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/patch/checkout.rs
@@ -5,10 +5,10 @@ use radicle::cob::patch::RevisionId;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/patch/comment/edit.rs
@@ -1,12 +1,12 @@
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
| - | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/patch/comment/react.rs
@@ -1,13 +1,13 @@
|
|
|
|
| + | |
|
|
| + | |
|
|
|
|
| - | |
| - | |
|
|
| + | |
|
|
| - | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/patch/comment/redact.rs
@@ -1,12 +1,12 @@
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
| - | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/patch/edit.rs
@@ -1,8 +1,8 @@
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/patch/list.rs
@@ -7,9 +7,9 @@ use radicle::prelude::*;
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/patch/react.rs
@@ -1,11 +1,11 @@
|
|
|
|
| + | |
|
|
| - | |
| - | |
| + | |
|
|
| + | |
|
|
| - | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/patch/resolve.rs
@@ -1,9 +1,9 @@
|
|
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/patch/review.rs
@@ -1,6 +1,6 @@
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/patch/review/builder.rs
@@ -26,7 +26,7 @@ use radicle::git;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/publish.rs
@@ -1,6 +1,6 @@
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/publish/args.rs
@@ -27,8 +27,8 @@ pub struct Args {
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/remote/add.rs
@@ -1,9 +1,9 @@
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/remote/list.rs
@@ -1,10 +1,10 @@
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/seed.rs
@@ -1,9 +1,9 @@
|
|
|
|
| + | |
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/sync.rs
@@ -5,13 +5,13 @@ use std::collections::BTreeMap;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/sync/args.rs
@@ -4,14 +4,14 @@ use std::time;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/unseed.rs
@@ -1,6 +1,6 @@
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/watch.rs
@@ -2,7 +2,7 @@ mod args;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/git.rs
@@ -14,21 +14,21 @@ use std::path::{Path, PathBuf};
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/git/ddiff.rs
@@ -305,7 +305,7 @@ impl unified_diff::Decode for DiffModification {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/git/pretty_diff.rs
@@ -7,8 +7,8 @@ use radicle_surf::diff;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/git/unified_diff.rs
@@ -533,7 +533,7 @@ impl Decode for Modification {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/main.rs
@@ -5,8 +5,8 @@ use std::io::Write;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -223,7 +223,7 @@ impl ExternalCommand {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/node.rs
@@ -4,7 +4,7 @@ use std::io::Write;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -136,7 +136,9 @@ pub fn announce<R: ReadRepository>(
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/terminal/args.rs
@@ -32,7 +32,9 @@ pub(crate) enum BlockTarget {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -62,7 +64,9 @@ impl std::fmt::Display for BlockTarget {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/terminal/cob.rs
@@ -1,4 +1,5 @@
|
|
| + | |
|
|
|
|
|
@@ -6,7 +7,6 @@ use radicle::{
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-cli/src/terminal/comment.rs
@@ -1,5 +1,5 @@
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/terminal/format.rs
@@ -3,14 +3,14 @@ use std::fmt;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/terminal/io.rs
@@ -1,12 +1,12 @@
|
|
| + | |
|
|
|
|
| - | |
| - | |
|
|
| + | |
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/terminal/issue.rs
@@ -3,14 +3,14 @@ use std::io;
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/terminal/patch.rs
@@ -9,13 +9,13 @@ use std::io::IsTerminal as _;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/warning.rs
@@ -1,8 +1,8 @@
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/tests/commands/clone.rs
@@ -1,10 +1,10 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-cli/tests/commands/id.rs
@@ -1,9 +1,9 @@
|
|
|
|
|
|
| - | |
| - | |
|
|
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/tests/commands/node.rs
@@ -1,9 +1,9 @@
|
|
|
|
| - | |
| - | |
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/tests/commands/patch.rs
@@ -1,8 +1,8 @@
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/tests/commands/policy.rs
@@ -1,8 +1,8 @@
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/tests/commands/sync.rs
@@ -1,8 +1,8 @@
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-cli/tests/commands/utility.rs
@@ -1,7 +1,7 @@
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -36,11 +36,13 @@ fn rad_config() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/tests/util/environment.rs
@@ -2,7 +2,7 @@ use std::path::PathBuf;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -47,10 +47,9 @@ pub(crate) mod config {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cob/src/backend/git/change.rs
@@ -15,10 +15,10 @@ use crate::change::store::Version;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cob/src/backend/git/commit.rs
@@ -6,9 +6,9 @@ use std::str::{self, FromStr};
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-cob/src/change/store.rs
@@ -7,7 +7,7 @@ use oid::Oid;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cob/src/change_graph.rs
@@ -7,8 +7,8 @@ use dag::Dag;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cob/src/lib.rs
@@ -77,8 +77,8 @@ mod change_graph;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -91,8 +91,8 @@ pub use type_name::TypeName;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cob/src/object.rs
@@ -9,8 +9,8 @@ use thiserror::Error;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cob/src/object/collaboration.rs
@@ -6,12 +6,12 @@ use nonempty::NonEmpty;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -25,7 +25,7 @@ mod remove;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cob/src/object/collaboration/get.rs
@@ -2,7 +2,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -24,10 +24,10 @@ where
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cob/src/object/collaboration/info.rs
@@ -9,7 +9,7 @@ use std::collections::BTreeSet;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -41,10 +41,10 @@ pub fn changegraph<S>(
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cob/src/object/collaboration/list.rs
@@ -1,6 +1,6 @@
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -19,10 +19,10 @@ where
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cob/src/object/collaboration/update.rs
@@ -5,8 +5,8 @@ use nonempty::NonEmpty;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cob/src/signatures.rs
@@ -7,10 +7,10 @@ use std::{
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cob/src/test/storage.rs
@@ -6,9 +6,9 @@ use fmt::Component;
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cob/src/tests.rs
@@ -2,7 +2,7 @@ use fmt::{Component, RefString};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -10,11 +10,11 @@ mod git {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -22,7 +22,7 @@ mod git {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -56,7 +56,7 @@ mod git {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -108,7 +108,7 @@ mod git {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -163,9 +163,9 @@ mod git {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -264,10 +264,10 @@ mod git {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cob/src/type_name.rs
@@ -116,15 +116,19 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
modified crates/radicle-core/src/repo.rs
@@ -219,7 +219,7 @@ mod radicle_git_ref_format_impls {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -347,48 +347,72 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-crypto/src/lib.rs
@@ -6,7 +6,7 @@ use ec25519 as ed25519;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-crypto/src/ssh/keystore.rs
@@ -284,7 +284,7 @@ impl EcSk for MemorySigner {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -356,7 +356,7 @@ impl MemorySigner {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-crypto/src/test/arbitrary.rs
@@ -1,6 +1,6 @@
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-crypto/src/test/signer.rs
@@ -1,4 +1,4 @@
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-fetch/src/git/mem.rs
@@ -1,7 +1,7 @@
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-fetch/src/git/refs/update.rs
@@ -18,8 +18,8 @@
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-fetch/src/git/repository.rs
@@ -3,9 +3,8 @@ pub mod error;
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
|
|
|
|
|
modified crates/radicle-fetch/src/git/repository/error.rs
@@ -1,7 +1,6 @@
|
|
| - | |
| + | |
|
|
| - | |
|
|
|
|
|
modified crates/radicle-fetch/src/handle.rs
@@ -1,12 +1,12 @@
| - | |
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-fetch/src/lib.rs
@@ -12,9 +12,9 @@ mod state;
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -22,8 +22,8 @@ pub use state::{Config, FetchLimit, FetchResult};
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-fetch/src/refs.rs
@@ -2,9 +2,8 @@ use bstr::{BString, ByteSlice};
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
|
|
|
|
|
modified crates/radicle-fetch/src/sigrefs.rs
@@ -2,7 +2,7 @@ use std::collections::BTreeMap;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-fetch/src/stage.rs
@@ -37,10 +37,10 @@ use either::Either;
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-fetch/src/state.rs
@@ -3,14 +3,14 @@ use std::time::Instant;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -20,7 +20,7 @@ use crate::git::repository;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -549,9 +549,13 @@ impl FetchState {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -601,9 +605,13 @@ impl FetchState {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -629,7 +637,10 @@ impl FetchState {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-fetch/src/transport.rs
@@ -4,18 +4,18 @@ pub(crate) mod ls_refs;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-fetch/src/transport/fetch.rs
@@ -1,16 +1,16 @@
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-fetch/src/transport/ls_refs.rs
@@ -5,12 +5,12 @@ use std::io;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-git-metadata/src/commit/parse.rs
@@ -6,9 +6,9 @@ use std::borrow::Cow;
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-git-metadata/src/commit/parse/test/error.rs
@@ -1,4 +1,4 @@
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-git-metadata/src/commit/parse/test/success.rs
@@ -142,9 +142,11 @@ This line is not a valid trailer."#;
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/control.rs
@@ -1,7 +1,7 @@
|
|
| - | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -283,8 +283,8 @@ mod tests {
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -342,8 +342,8 @@ mod tests {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/lib.rs
@@ -26,8 +26,8 @@ use radicle::version::Version;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -49,10 +49,10 @@ pub static USER_AGENT: LazyLock<UserAgent> = LazyLock::new(|| {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
|
|
| + | |
|
|
|
modified crates/radicle-node/src/main.rs
@@ -141,7 +141,9 @@ fn parse_options() -> Result<Options, lexopt::Error> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -202,7 +204,9 @@ enum ExecutionError {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -341,7 +345,7 @@ fn initialize_logging(options: &LogOptions) -> Result<(), Box<dyn std::error::Er
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/reactor.rs
@@ -13,7 +13,7 @@ use std::thread::JoinHandle;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/reactor/session.rs
@@ -256,7 +256,7 @@ impl Session for TcpStream {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/reactor/transport.rs
@@ -286,8 +286,8 @@ impl<S: Session + Source> EventHandler for Transport<S> {
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-node/src/runtime.rs
@@ -19,23 +19,23 @@ use radicle_signals::Signal;
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -282,22 +282,24 @@ impl Runtime {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -318,7 +320,8 @@ impl Runtime {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/runtime/handle.rs
@@ -1,7 +1,7 @@
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-node/src/test/gossip.rs
@@ -1,15 +1,15 @@
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
@@ -23,11 +23,7 @@ pub fn messages(count: usize, now: LocalTime, delta: LocalDuration) -> Vec<Messa
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -35,7 +31,7 @@ pub fn messages(count: usize, now: LocalTime, delta: LocalDuration) -> Vec<Messa
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/test/handle.rs
@@ -10,8 +10,8 @@ use radicle::storage::refs::{self, RefsAt};
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-node/src/test/node.rs
@@ -11,33 +11,33 @@ use std::{
|
|
|
|
|
|
| + | |
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
|
|
| - | |
|
|
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/test/peer.rs
@@ -7,19 +7,19 @@ use std::str::FromStr;
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -434,7 +434,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/test/simulator.rs
@@ -13,10 +13,11 @@ use std::{fmt, io, net};
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -26,7 +27,6 @@ use crate::storage::{ReadRepository, WriteStorage};
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -666,7 +666,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/tests.rs
@@ -13,16 +13,16 @@ use test_log::test;
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
| - | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -32,15 +32,15 @@ use crate::node;
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
|
|
| + | |
|
|
| - | |
|
|
|
|
|
@@ -51,11 +51,11 @@ use crate::test::peer::Peer;
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -78,7 +78,7 @@ pub static TEST_CASES: LazyLock<usize> = LazyLock::new(|| {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -414,7 +414,7 @@ fn test_inventory_pruning() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -722,7 +722,7 @@ fn test_refs_announcement_relay_public() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -803,7 +803,7 @@ fn test_refs_announcement_relay_private() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -817,7 +817,7 @@ fn test_refs_announcement_relay_private() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -960,7 +960,7 @@ fn test_refs_announcement_no_subscribe() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1406,7 +1406,7 @@ fn test_maintain_connections_failed_attempt() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1425,7 +1425,7 @@ fn test_seed_repo_subscribe() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1450,7 +1450,7 @@ fn test_fetch_missing_inventory_on_gossip() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1596,7 +1596,7 @@ fn test_queued_fetch_from_ann_same_rid() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1646,7 +1646,7 @@ fn test_queued_fetch_from_command_same_rid() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1656,7 +1656,7 @@ fn test_queued_fetch_from_command_same_rid() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1909,7 +1909,7 @@ fn prop_inventory_exchange_dense() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1933,7 +1933,7 @@ fn test_announcement_message_amplification() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2030,7 +2030,7 @@ fn test_announcement_message_amplification() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2040,13 +2040,14 @@ fn test_announcement_message_amplification() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/tests/e2e.rs
@@ -6,10 +6,10 @@ use radicle_crypto::test::signer::MockSigner;
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -22,7 +22,7 @@ use crate::node::config::Limits;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -631,12 +631,13 @@ fn test_clone() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/wire.rs
@@ -1,8 +1,8 @@
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -19,9 +19,9 @@ use radicle::node::device::Device;
|
|
|
|
|
|
| - | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -34,9 +34,9 @@ use crate::reactor::{Listener, Transport};
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -897,7 +897,10 @@ where
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1297,9 +1300,9 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/worker.rs
@@ -16,13 +16,13 @@ use radicle::node::policy::config::SeedingPolicy;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -154,13 +154,13 @@ impl Worker {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -169,7 +169,7 @@ impl Worker {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/worker/channels.rs
@@ -3,8 +3,8 @@ use std::ops::Deref;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-node/src/worker/fetch.rs
@@ -1,5 +1,5 @@
| - | |
|
|
| + | |
|
|
|
|
|
@@ -19,7 +19,7 @@ use radicle::storage::{
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/worker/upload_pack.rs
@@ -5,12 +5,12 @@ use std::time::{Duration, Instant};
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -39,7 +39,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-oid/src/lib.rs
@@ -108,7 +108,7 @@ impl Oid {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -116,7 +116,7 @@ impl Oid {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -509,7 +509,10 @@ mod serde {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -551,7 +554,7 @@ mod radicle_git_ref_format {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -565,7 +568,7 @@ mod schemars {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/bounded.rs
@@ -268,8 +268,10 @@ unsafe impl<const N: usize> bytes::BufMut for BoundedVec<u8, N> {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/deserializer.rs
@@ -85,7 +85,9 @@ unsafe impl<const B: usize, D: wire::Decode> bytes::BufMut for Deserializer<B, D
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/service.rs
@@ -3,11 +3,12 @@ use std::collections::HashMap;
|
|
|
|
|
|
| + | |
|
|
| + | |
|
|
| - | |
| + | |
|
|
| - | |
|
|
|
|
|
@@ -176,8 +177,8 @@ mod tests {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/queue.rs
@@ -11,8 +11,8 @@ use radicle::storage::refs::{FeatureLevel, RefsAt};
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/queue/helpers.rs
@@ -12,7 +12,7 @@ pub fn create_queue(capacity: usize) -> Queue {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/queue/properties/capacity.rs
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/queue/properties/equality.rs
@@ -14,9 +14,5 @@ fn symmetric(a: QueuedFetch, b: QueuedFetch) -> bool {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
modified crates/radicle-protocol/src/fetcher/test/queue/properties/fifo.rs
@@ -1,8 +1,8 @@
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/queue/properties/merge.rs
@@ -32,7 +32,7 @@ fn same_rid_merges_anywhere_in_queue(max_size: MaxQueueSize, merge_index: usize)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -47,9 +47,9 @@ fn combines_refs(base_refs_count: u8, merge_refs_count: u8) -> bool {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -84,13 +84,13 @@ fn combines_refs(base_refs_count: u8, merge_refs_count: u8) -> bool {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -114,7 +114,7 @@ fn longer_timeout_preserved(short_secs: u16, long_secs: u16) -> bool {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -144,18 +144,18 @@ fn longer_timeout_preserved(short_secs: u16, long_secs: u16) -> bool {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -175,7 +175,7 @@ fn different_rid_accepted(base_item: QueuedFetch) -> bool {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -186,7 +186,7 @@ fn different_rid_accepted(base_item: QueuedFetch) -> bool {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -196,14 +196,14 @@ fn succeed_when_at_capacity() -> bool {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/queue/unit.rs
@@ -3,18 +3,18 @@ use std::time::Duration;
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -26,7 +26,7 @@ fn max_timeout_accepted() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -35,7 +35,7 @@ fn max_timeout_accepted() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -56,9 +56,9 @@ fn empty_refs_items_can_be_equal() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -81,7 +81,7 @@ fn merge_preserves_position_in_queue() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/command/cancel.rs
@@ -8,8 +8,8 @@ use crate::fetcher::{ActiveFetch, FetchConfig, FetcherState};
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -47,10 +47,10 @@ fn single_ongoing() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -91,7 +91,7 @@ fn ongoing_and_queued() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -101,10 +101,10 @@ fn non_existent_returns_unexpected() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/command/fetch.rs
@@ -11,8 +11,8 @@ use crate::fetcher::{FetchConfig, RefsToFetch};
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -44,9 +44,9 @@ fn fetch_start_first_fetch_for_node() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -72,9 +72,9 @@ fn fetch_different_repo_same_node_within_capacity() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -106,8 +106,8 @@ fn fetch_same_repo_different_nodes_queues_second() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -137,8 +137,8 @@ fn fetch_duplicate_returns_already_fetching() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -169,9 +169,9 @@ fn fetch_same_repo_different_refs_enqueues() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -202,11 +202,11 @@ fn fetch_at_capacity_enqueues() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -255,9 +255,9 @@ fn fetch_queue_rejected_capacity_reached() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -315,9 +315,9 @@ fn fetch_queue_merges_already_queued() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -357,9 +357,9 @@ fn fetch_queue_merge_empty_refs_fetches_all() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -399,8 +399,8 @@ fn fetch_queue_merge_takes_longer_timeout() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/command/fetched.rs
@@ -8,8 +8,8 @@ use crate::fetcher::{FetchConfig, FetcherState};
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -39,10 +39,10 @@ fn complete_single_ongoing() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -85,10 +85,10 @@ fn complete_then_dequeue_fifo() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -124,8 +124,8 @@ fn complete_one_of_multiple() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/concurrent.rs
@@ -8,11 +8,11 @@ use crate::fetcher::{FetchConfig, FetcherState};
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -65,9 +65,9 @@ fn interleaved_operations() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/config.rs
@@ -8,11 +8,11 @@ use crate::fetcher::{FetchConfig, FetcherState};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -39,10 +39,10 @@ fn high_concurrency() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/dequeue.rs
@@ -10,9 +10,9 @@ use crate::fetcher::{FetchConfig, FetcherState};
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -48,11 +48,11 @@ fn cannot_dequeue_while_node_at_capacity() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -105,7 +105,7 @@ fn maintains_fifo_order() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/helpers.rs
@@ -13,6 +13,6 @@ pub fn config(max_concurrency: usize, max_queue_size: usize) -> Config {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/invariant.rs
@@ -8,9 +8,9 @@ use crate::fetcher::{FetchConfig, FetcherState};
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/multinode.rs
@@ -8,12 +8,12 @@ use crate::fetcher::{FetchConfig, FetcherState};
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -66,8 +66,8 @@ fn high_count() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/service.rs
@@ -42,14 +42,14 @@ use radicle::storage::{RepositoryError, RepositoryInfo, SignedRefsInfo};
|
|
|
|
|
|
| - | |
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -57,7 +57,7 @@ use radicle::node::routing::InsertResult;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/service/command.rs
@@ -4,9 +4,9 @@ use crossbeam_channel::Receiver;
|
|
|
|
|
|
| - | |
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/service/gossip.rs
@@ -5,8 +5,8 @@ use std::sync::LazyLock;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/service/gossip/store.rs
@@ -389,8 +389,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/service/io.rs
@@ -3,16 +3,16 @@ use std::collections::VecDeque;
|
|
|
|
|
|
| - | |
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/service/limiter.rs
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -159,7 +159,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -189,7 +189,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -210,7 +210,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/service/message.rs
@@ -92,7 +92,7 @@ impl NodeAnnouncement {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -482,26 +482,35 @@ impl Message {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -530,7 +539,7 @@ impl Ping {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -703,7 +712,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/wire.rs
@@ -85,7 +85,9 @@ pub enum Error {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/wire/frame.rs
@@ -6,7 +6,7 @@ use bytes::{Buf, BufMut};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/wire/message.rs
@@ -2,7 +2,7 @@ use std::{mem, net};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -426,14 +426,14 @@ impl wire::Decode for ZeroBytes {
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -443,11 +443,11 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -459,10 +459,10 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -474,14 +474,14 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -539,7 +539,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/worker/fetch/error.rs
@@ -19,7 +19,9 @@ pub enum Fetch {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-remote-helper/src/fetch.rs
@@ -5,8 +5,8 @@ use thiserror::Error;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -24,7 +24,9 @@ pub(super) enum Error {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-remote-helper/src/list.rs
@@ -2,12 +2,12 @@ use radicle::patch::cache::Patches as _;
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-remote-helper/src/main.rs
@@ -34,8 +34,8 @@ use radicle::prelude::NodeId;
|
|
|
|
|
|
| + | |
|
|
| - | |
|
|
|
|
|
modified crates/radicle-remote-helper/src/push.rs
@@ -13,6 +13,7 @@ use radicle::identity::doc::CanonicalRefsError;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -25,13 +26,12 @@ use radicle::node::NodeId;
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -39,7 +39,9 @@ pub(super) enum Error {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -116,7 +118,9 @@ pub(super) enum Error {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-remote-helper/src/push/canonical.rs
@@ -1,8 +1,8 @@
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-remote-helper/src/push/error.rs
@@ -26,7 +26,9 @@ pub(crate) struct GraphDescendant {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-remote-helper/src/service.rs
@@ -3,11 +3,11 @@ use std::io::IsTerminal;
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle-signals/src/windows.rs
@@ -3,13 +3,13 @@ use std::sync::OnceLock;
|
|
|
|
|
|
| - | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-ssh/src/agent/client.rs
@@ -11,8 +11,8 @@ pub use winpipe::WinStream as Stream;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -97,13 +97,13 @@ impl AgentClient<Stream> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-systemd/src/credential.rs
@@ -1,7 +1,7 @@
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -39,8 +39,12 @@ impl fmt::Display for PathError {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
modified crates/radicle-systemd/src/journal.rs
@@ -1,4 +1,4 @@
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-systemd/src/listen.rs
@@ -1,4 +1,4 @@
| - | |
| + | |
|
|
|
|
|
@@ -20,20 +20,28 @@ const SD_LISTEN_FDS_START: RawFd = 3;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
modified crates/radicle-term/src/ansi.rs
@@ -10,8 +10,8 @@ mod style;
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| + | |
|
modified crates/radicle-term/src/ansi/paint.rs
@@ -1,6 +1,6 @@
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle-term/src/element.rs
@@ -4,7 +4,7 @@ use std::ops::Deref;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-term/src/io.rs
@@ -4,15 +4,15 @@ use std::process::Stdio;
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -70,7 +70,7 @@ impl PaintTarget {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -81,7 +81,7 @@ macro_rules! info {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -100,7 +100,7 @@ macro_rules! tip {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-term/src/label.rs
@@ -1,6 +1,6 @@
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-term/src/lib.rs
@@ -16,16 +16,16 @@ use std::fmt;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -49,11 +49,7 @@ impl Interactive {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -68,11 +64,7 @@ impl From<Interactive> for bool {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-term/src/textarea.rs
@@ -1,4 +1,4 @@
| - | |
| + | |
|
|
|
|
|
@@ -30,7 +30,7 @@ impl TextArea {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-windows/src/jobs.rs
@@ -2,11 +2,11 @@ use std::io;
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/cob.rs
@@ -16,13 +16,13 @@ pub mod test;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/common.rs
@@ -4,7 +4,7 @@ use std::ops::{Deref, Range};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -454,11 +454,7 @@ pub enum Authorization {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/external.rs
@@ -87,7 +87,7 @@ use std::process::{Command, Stdio};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/identity.rs
@@ -10,19 +10,18 @@ use thiserror::Error;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -1074,12 +1073,12 @@ mod test {
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/issue.rs
@@ -13,11 +13,11 @@ use crate::cob::common::{Author, Authorization, Label, Reaction, Timestamp, Uri}
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -981,7 +981,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1080,8 +1080,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1119,8 +1119,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1218,8 +1218,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/issue/cache.rs
@@ -9,8 +9,8 @@ use crate::cob::cache;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -635,7 +635,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -657,10 +657,10 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -698,12 +698,12 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -733,9 +733,9 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -763,9 +763,9 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -793,9 +793,9 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/op.rs
@@ -122,10 +122,10 @@ impl<A> Op<A> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -137,10 +137,10 @@ impl<A> Op<A> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/patch.rs
@@ -25,11 +25,11 @@ use crate::cob::store::{Cob, CobAction};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -2868,7 +2868,7 @@ mod ser {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2999,7 +2999,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -3251,9 +3251,9 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -3308,7 +3308,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -3370,7 +3370,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/patch/actions.rs
@@ -5,9 +5,9 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/patch/cache.rs
@@ -712,7 +712,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -732,8 +732,8 @@ mod tests {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -763,7 +763,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -791,12 +791,12 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -879,12 +879,12 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -915,10 +915,10 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -957,9 +957,9 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -988,9 +988,9 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1019,9 +1019,9 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/patch/encoding/review.rs
@@ -127,7 +127,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/store.rs
@@ -13,8 +13,8 @@ use crate::cob::{Create, Embed, EntryId, ObjectId, TypeName, Update, Updated, Ur
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -129,7 +129,9 @@ pub enum Error {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -344,7 +346,8 @@ where
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/stream.rs
@@ -177,7 +177,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -188,13 +188,13 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -383,7 +383,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/stream/iter.rs
@@ -4,11 +4,11 @@ use serde::Deserialize;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/test.rs
@@ -9,8 +9,8 @@ use serde::{Deserialize, Serialize};
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -257,7 +257,7 @@ fn encoded<T: Cob, G: Signer>(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/thread.rs
@@ -3,13 +3,13 @@ use std::collections::{BTreeMap, BTreeSet};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -633,12 +633,12 @@ mod tests {
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -700,7 +700,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -725,7 +725,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -747,7 +747,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -812,7 +812,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -856,7 +856,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -915,7 +915,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -925,7 +925,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -935,7 +935,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/git.rs
@@ -6,7 +6,7 @@ use std::path::Path;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -705,20 +705,12 @@ pub fn set_upstream(
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -768,7 +760,7 @@ pub mod process {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/git/canonical.rs
@@ -304,7 +304,7 @@ impl<'a, 'b> QuorumFinder<'a, 'b> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/git/canonical/convergence.rs
@@ -3,7 +3,7 @@ use std::{fmt, ops::ControlFlow};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/git/canonical/effects.rs
@@ -1,9 +1,9 @@
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle/src/git/canonical/error.rs
@@ -2,20 +2,26 @@ use thiserror::Error;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -23,7 +29,9 @@ pub enum QuorumError {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/git/canonical/quorum.rs
@@ -156,7 +156,7 @@ impl CommitQuorum {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -239,7 +239,7 @@ pub enum CommitQuorumFailure {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/git/canonical/rules.rs
@@ -22,10 +22,10 @@ use thiserror::Error;
|
|
|
|
|
|
| - | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -745,18 +745,18 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
| - | |
|
|
| - | |
| + | |
|
|
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
|
|
|
|
|
@@ -994,7 +994,9 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1026,7 +1028,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1041,7 +1043,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/git/canonical/voting.rs
@@ -66,7 +66,7 @@ impl CommitVoting {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/git/raw.rs
@@ -6,7 +6,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -35,7 +35,7 @@ pub mod build {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/identity/crefs.rs
@@ -1,8 +1,8 @@
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/identity/doc.rs
@@ -11,7 +11,7 @@ use std::sync::LazyLock;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -21,7 +21,7 @@ use crate::crypto::Signature;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -29,8 +29,8 @@ use crate::storage::{ReadRepository, RepositoryError};
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -974,11 +974,11 @@ mod test {
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -988,7 +988,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -998,11 +998,11 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1010,7 +1010,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1149,8 +1149,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/identity/doc/update.rs
@@ -8,7 +8,7 @@ use crate::{
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -206,7 +206,7 @@ pub fn verify(raw: RawDoc) -> Result<Doc, error::DocVerification> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -279,7 +279,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -289,7 +289,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -310,7 +310,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -343,7 +343,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/identity/doc/update/error.rs
@@ -2,7 +2,7 @@ use thiserror::Error;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -28,7 +28,9 @@ pub enum DocVerification {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/identity/project.rs
@@ -1,8 +1,8 @@
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/io.rs
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/lib.rs
@@ -44,7 +44,7 @@ pub mod prelude {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node.rs
@@ -43,11 +43,11 @@ use crate::crypto::PublicKey;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -488,7 +488,7 @@ impl Address {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1049,7 +1049,7 @@ impl<T: DeserializeOwned> Iterator for LineIter<T> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1420,11 +1420,11 @@ pub(crate) mod properties {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/address/store.rs
@@ -8,8 +8,8 @@ use sqlite as sql;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -575,7 +575,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -584,7 +584,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -593,7 +593,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -632,7 +632,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -672,7 +672,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -701,7 +701,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -776,8 +776,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -868,8 +868,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -909,16 +909,16 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -980,7 +980,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/command.rs
@@ -17,8 +17,8 @@ use crate::crypto::PublicKey;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/node/config.rs
@@ -22,7 +22,7 @@ pub type ProtocolVersion = u8;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -718,7 +718,7 @@ impl From<LimitGossipMaxAge> for LocalDuration {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -767,7 +767,7 @@ wrapper!(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/db.rs
@@ -16,7 +16,7 @@ use sqlite as sql;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/device.rs
@@ -2,9 +2,9 @@ use std::fmt;
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle/src/node/events.rs
@@ -9,11 +9,11 @@ use std::time;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/features.rs
@@ -116,13 +116,17 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/notifications.rs
@@ -7,7 +7,7 @@ use thiserror::Error;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/notifications/store.rs
@@ -10,9 +10,9 @@ use sqlite as sql;
|
|
|
|
|
|
| - | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -294,7 +294,7 @@ impl<T> Store<T> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -424,7 +424,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -447,8 +447,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -480,7 +480,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -558,7 +558,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -578,9 +578,10 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -600,7 +601,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -619,9 +620,10 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -647,7 +649,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/policy/store.rs
@@ -467,7 +467,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -480,7 +480,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -520,7 +520,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -540,7 +540,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -557,7 +557,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -569,7 +569,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/refs/store.rs
@@ -6,8 +6,8 @@ use localtime::LocalTime;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -186,8 +186,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -195,15 +195,17 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -212,8 +214,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -232,27 +234,30 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/routing.rs
@@ -320,11 +320,12 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -357,8 +358,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -377,8 +378,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -398,9 +399,9 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -427,8 +428,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -441,10 +442,10 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -459,7 +460,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -490,7 +491,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -503,7 +504,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/seed/store.rs
@@ -6,10 +6,10 @@ use sqlite as sql;
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/sync/announce.rs
@@ -586,7 +586,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -642,7 +642,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -668,7 +668,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -729,7 +729,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -776,7 +776,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -840,7 +840,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -887,7 +887,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -948,7 +948,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -968,7 +968,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1010,11 +1010,11 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1054,7 +1054,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1122,7 +1122,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1170,7 +1170,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1193,10 +1193,10 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1230,7 +1230,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1301,7 +1301,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1375,7 +1375,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1416,7 +1416,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1451,7 +1451,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1492,7 +1492,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1554,7 +1554,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1596,7 +1596,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/sync/fetch.rs
@@ -545,7 +545,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -574,10 +574,10 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -597,7 +597,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -614,7 +614,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -626,7 +626,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -640,7 +640,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -668,7 +668,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -686,7 +686,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -718,7 +718,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -735,7 +735,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -777,7 +777,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -787,7 +787,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -815,7 +815,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -824,7 +824,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/timestamp.rs
@@ -76,11 +76,7 @@ impl TryFrom<u64> for Timestamp {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/profile.rs
@@ -22,18 +22,18 @@ use localtime::LocalTime;
|
|
|
|
|
|
| - | |
| - | |
|
|
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
|
|
| + | |
| + | |
|
|
|
|
|
@@ -431,7 +431,7 @@ impl Profile {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -496,8 +496,7 @@ pub fn home() -> Result<Home, io::Error> {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -721,7 +720,7 @@ impl Home {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -729,7 +728,7 @@ impl Home {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -737,7 +736,7 @@ impl Home {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/profile/config.rs
@@ -7,9 +7,9 @@ use serde_json as json;
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
@@ -112,7 +112,9 @@ pub enum InitError {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -380,13 +382,11 @@ impl RawConfig {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/rad.rs
@@ -13,10 +13,10 @@ use crate::identity::doc;
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
|
|
| - | |
|
|
|
|
|
@@ -230,7 +230,9 @@ where
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -510,8 +512,8 @@ mod tests {
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/serde_ext.rs
@@ -9,7 +9,7 @@ pub mod string {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage.rs
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -16,15 +16,15 @@ pub use git::{Validation, Validations};
|
|
|
|
|
|
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/git.rs
@@ -19,21 +19,21 @@ use crate::identity::{CanonicalRefs, Doc, DocAt, RepoId};
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/git/cob.rs
@@ -16,18 +16,18 @@ use crate::git::fmt::*;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/git/transport/local/url.rs
@@ -123,16 +123,22 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/git/transport/remote/mock.rs
@@ -9,8 +9,8 @@ use std::{process, thread};
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/git/transport/remote/url.rs
@@ -130,9 +130,11 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs.rs
@@ -17,11 +17,11 @@ use serde::{Deserialize, Serialize};
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -495,13 +495,13 @@ pub mod canonical {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/git.rs
@@ -41,8 +41,8 @@ impl Committer {
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -147,7 +147,7 @@ mod git2_impls {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/property.rs
@@ -3,14 +3,14 @@
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/property/mock.rs
@@ -6,7 +6,7 @@ use tempfile::TempDir;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/read.rs
@@ -9,7 +9,7 @@ use std::collections::{BTreeMap, HashMap};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -19,8 +19,8 @@ use crate::git;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -422,7 +422,7 @@ impl Commit {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/read/error.rs
@@ -8,7 +8,7 @@ use thiserror::Error;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -114,7 +114,9 @@ pub enum IdentityRoot {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/read/iter.rs
@@ -2,7 +2,7 @@ use radicle_oid::Oid;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/read/test/commit_reader.rs
@@ -1,8 +1,8 @@
|
|
|
|
| - | |
| - | |
|
|
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/read/test/identity_root_reader.rs
@@ -2,11 +2,11 @@ use radicle_core::RepoId;
|
|
|
|
|
|
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/read/test/mock.rs
@@ -6,15 +6,15 @@ use std::path::{Path, PathBuf};
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/read/test/resolve_tip.rs
@@ -1,9 +1,9 @@
|
|
|
|
| - | |
| - | |
| - | |
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/read/test/signed_refs_reader.rs
@@ -1,8 +1,8 @@
|
|
|
|
| - | |
| - | |
|
|
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/read/test/tree_reader.rs
@@ -1,8 +1,8 @@
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/write.rs
@@ -5,20 +5,20 @@ mod test;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -161,7 +161,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/write/test/commit_writer.rs
@@ -1,7 +1,7 @@
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/write/test/head_reader.rs
@@ -2,8 +2,8 @@ use radicle_git_ref_format::Component;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/write/test/mock.rs
@@ -4,16 +4,16 @@ use std::str::FromStr as _;
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
| - | |
| - | |
|
|
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/write/test/signed_refs_writer.rs
@@ -1,8 +1,8 @@
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/write/test/tree_writer.rs
@@ -1,7 +1,7 @@
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/test.rs
@@ -71,14 +71,14 @@ pub fn fetch<W: WriteRepository>(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/test/arbitrary.rs
@@ -5,16 +5,16 @@ use std::str::FromStr;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
|
|
|
@@ -23,7 +23,7 @@ use crate::test::storage::{MockRepository, MockStorage};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -65,9 +65,9 @@ pub fn vec<T: Eq + Arbitrary>(size: usize) -> Vec<T> {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -86,32 +86,32 @@ pub fn nonempty_storage(size: usize) -> MockStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/test/assert.rs
@@ -40,56 +40,56 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -125,7 +125,7 @@ macro_rules! _assert_matches_cfg {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/test/fixtures.rs
@@ -3,13 +3,13 @@ use std::str::FromStr;
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
|
|
| + | |
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -244,7 +244,7 @@ pub fn populate(repo: &git::raw::Repository, scale: usize) -> Vec<git::fmt::Qual
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/test/storage.rs
@@ -10,8 +10,8 @@ pub use crate::git;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|