modified radicle-cli/src/commands/checkout.rs
@@ -32,7 +32,7 @@ Options
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/clean.rs
@@ -2,7 +2,7 @@ use std::ffi::OsString;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -32,7 +32,7 @@ Options
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -41,7 +41,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/clone.rs
@@ -10,7 +10,7 @@ use thiserror::Error;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -55,7 +55,7 @@ Options
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -71,7 +71,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -110,7 +110,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -229,13 +229,13 @@ pub enum CloneError {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/cob.rs
@@ -5,7 +5,7 @@ use anyhow::anyhow;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -46,7 +46,7 @@ enum Operation {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -59,7 +59,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/fork.rs
@@ -2,7 +2,7 @@ use std::ffi::OsString;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -25,7 +25,7 @@ Options
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/id.rs
@@ -5,7 +5,7 @@ use anyhow::{anyhow, Context};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -92,7 +92,7 @@ pub enum OperationName {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -104,7 +104,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/init.rs
@@ -13,7 +13,7 @@ use serde_json as json;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -354,7 +354,7 @@ enum SyncResult<T> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -438,7 +438,7 @@ fn sync(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/inspect.rs
@@ -7,8 +7,8 @@ use std::str::FromStr;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -64,7 +64,7 @@ pub enum Target {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -73,7 +73,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -111,7 +111,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/node.rs
@@ -4,7 +4,7 @@ use std::time;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -73,7 +73,7 @@ pub enum Operation {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -112,7 +112,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/node/routing.rs
@@ -1,12 +1,12 @@
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -25,7 +25,7 @@ pub fn run<S: node::routing::Store>(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -42,7 +42,7 @@ fn print_table(entries: impl IntoIterator<Item = (Id, NodeId)>) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/publish.rs
@@ -4,7 +4,7 @@ use anyhow::{anyhow, Context as _};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -38,7 +38,7 @@ Options
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/remote/add.rs
@@ -13,7 +13,7 @@ use crate::commands::rad_sync as sync;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/remote/list.rs
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -56,7 +56,7 @@ pub fn tracked(working: &git::Repository) -> anyhow::Result<Vec<Tracked>> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/seed.rs
@@ -46,9 +46,15 @@ Options
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -69,7 +75,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -144,7 +150,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -160,7 +166,7 @@ pub fn update(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/sync.rs
@@ -10,7 +10,7 @@ use radicle::node;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -138,7 +138,7 @@ pub enum SyncDirection {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -306,7 +306,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -375,7 +375,7 @@ fn sync_status(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -482,7 +482,7 @@ pub fn announce_inventory(mut node: Node) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -501,7 +501,7 @@ pub fn fetch(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -562,7 +562,7 @@ fn fetch_all(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/watch.rs
@@ -4,7 +4,7 @@ use std::{thread, time};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -39,7 +39,7 @@ Options
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/git.rs
@@ -22,7 +22,7 @@ use radicle::crypto::ssh;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -260,7 +260,7 @@ pub fn is_remote(repo: &git2::Repository, alias: &str) -> anyhow::Result<bool> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -270,7 +270,7 @@ pub fn rad_remote(repo: &Repository) -> anyhow::Result<(git2::Remote, Id)> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/node.rs
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -9,7 +9,7 @@ use radicle::Node;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -20,7 +20,7 @@ pub fn announce(rid: Id, node: &mut Node) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/project.rs
@@ -6,10 +6,10 @@ use radicle::node::policy::Scope;
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -55,7 +55,7 @@ impl<'a> SetupRemote<'a> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -72,7 +72,7 @@ pub fn seed(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/terminal/args.rs
@@ -9,7 +9,7 @@ use radicle::cob::{self, issue, patch};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -116,9 +116,9 @@ pub fn nid(val: &OsString) -> anyhow::Result<NodeId> {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/tests/commands.rs
@@ -8,7 +8,7 @@ use radicle::node::address::Store as _;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -301,7 +301,7 @@ fn rad_id() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -350,7 +350,7 @@ fn rad_id_multi_delegate() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -409,7 +409,7 @@ fn rad_id_collaboration() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -511,7 +511,7 @@ fn rad_id_conflict() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -696,7 +696,7 @@ fn rad_patch_checkout_force() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -895,7 +895,7 @@ fn rad_clean() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1060,7 +1060,7 @@ fn rad_clone_connect() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1134,7 +1134,7 @@ fn rad_sync_without_node() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1527,7 +1527,7 @@ fn rad_sync() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1576,7 +1576,7 @@ fn test_replication_via_seed() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1657,7 +1657,7 @@ fn rad_remote() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1991,7 +1991,7 @@ fn git_push_diverge() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2032,7 +2032,7 @@ fn rad_push_and_pull_patches() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-fetch/src/handle.rs
@@ -87,7 +87,7 @@ pub mod error {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -103,15 +103,15 @@ pub mod error {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-fetch/src/policy.rs
@@ -3,7 +3,7 @@ use std::collections::HashSet;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -14,7 +14,7 @@ pub enum Allowed {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -71,7 +71,7 @@ impl BlockList {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -83,15 +83,15 @@ pub mod error {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-httpd/src/api.rs
@@ -16,7 +16,7 @@ use tower_http::cors::{self, CorsLayer};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -52,7 +52,7 @@ impl Context {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -196,7 +196,7 @@ mod project {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -211,13 +211,13 @@ mod project {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-httpd/src/api/v1/node.rs
@@ -6,7 +6,7 @@ use axum_auth::AuthBearer;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -74,7 +74,7 @@ async fn node_policies_repos_handler(State(ctx): State<Context>) -> impl IntoRes
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -96,7 +96,7 @@ async fn node_policies_seed_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-httpd/src/api/v1/projects.rs
@@ -15,7 +15,7 @@ use serde_json::json;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -141,7 +141,7 @@ async fn project_root_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -161,7 +161,7 @@ pub struct CommitsQueryString {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -242,7 +242,7 @@ async fn history_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -308,7 +308,7 @@ async fn commit_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -375,7 +375,7 @@ async fn diff_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -402,7 +402,7 @@ async fn activity_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -411,7 +411,7 @@ async fn tree_handler_root(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -436,7 +436,10 @@ async fn tree_handler(
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -478,7 +481,7 @@ async fn remotes_handler(State(ctx): State<Context>, Path(project): Path<Id>) ->
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -506,7 +509,7 @@ async fn remote_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -520,7 +523,7 @@ async fn blob_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -551,7 +554,7 @@ async fn readme_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -599,7 +602,7 @@ pub struct IssueCreate {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -641,7 +644,7 @@ async fn issue_create_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -696,7 +699,7 @@ async fn issue_update_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -722,7 +725,7 @@ pub struct PatchCreate {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -761,7 +764,7 @@ async fn patch_create_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -901,7 +904,7 @@ async fn patch_update_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -938,7 +941,7 @@ async fn patches_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-httpd/src/cache.rs
@@ -4,12 +4,12 @@ use std::sync::Arc;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-httpd/src/git.rs
@@ -16,19 +16,19 @@ use axum::Router;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -38,7 +38,7 @@ async fn git_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -70,7 +70,7 @@ async fn git_http_backend(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -210,7 +210,7 @@ mod routes {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -232,7 +232,7 @@ mod routes {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-httpd/src/lib.rs
@@ -21,7 +21,7 @@ use tokio::net::TcpListener;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -40,7 +40,7 @@ pub const DEFAULT_CACHE_SIZE: NonZeroUsize = unsafe { NonZeroUsize::new_unchecke
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-httpd/src/main.rs
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -39,7 +39,7 @@ fn parse_options() -> Result<httpd::Options, lexopt::Error> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-httpd/src/raw.rs
@@ -9,7 +9,7 @@ use axum::Router;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -107,7 +107,7 @@ pub fn router(profile: Arc<Profile>) -> Router {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -134,7 +134,7 @@ async fn file_by_path_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/control.rs
@@ -10,7 +10,7 @@ use std::{io, net, time};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -201,7 +201,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -225,7 +225,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -236,7 +236,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -283,7 +283,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/lib.rs
@@ -21,7 +21,7 @@ pub mod prelude {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/runtime/handle.rs
@@ -9,7 +9,7 @@ use radicle::storage::refs::RefsAt;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -178,7 +178,7 @@ impl radicle::node::Handle for Handle {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -192,7 +192,7 @@ impl radicle::node::Handle for Handle {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -213,19 +213,19 @@ impl radicle::node::Handle for Handle {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/service.rs
@@ -34,7 +34,7 @@ use radicle::storage::RepositoryError;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -105,11 +105,11 @@ pub use message::REF_REMOTE_LIMIT;
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -166,7 +166,7 @@ pub type QueryState = dyn Fn(&dyn ServiceState) -> Result<(), CommandError> + Se
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -178,13 +178,13 @@ pub enum Command {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -261,7 +261,7 @@ impl FetchState {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -347,7 +347,7 @@ pub struct Service<D, S, G> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -439,7 +439,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -450,7 +450,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -514,7 +514,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -787,7 +787,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -798,7 +798,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -808,7 +808,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -852,7 +852,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -897,7 +897,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1683,12 +1683,12 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1726,7 +1726,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1757,7 +1757,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1850,7 +1850,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1915,7 +1915,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2140,7 +2140,7 @@ pub trait ServiceState {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2163,7 +2163,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/service/filter.rs
@@ -3,7 +3,7 @@ use std::ops::{Deref, DerefMut};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -28,7 +28,7 @@ pub const FILTER_HASHES: usize = 7;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -40,7 +40,7 @@ impl Filter {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -71,7 +71,7 @@ impl Filter {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -84,8 +84,8 @@ impl DerefMut for Filter {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -136,7 +136,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -147,7 +147,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/service/gossip.rs
@@ -23,8 +23,8 @@ pub fn node(config: &Config, timestamp: Timestamp) -> NodeAnnouncement {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified radicle-node/src/service/io.rs
@@ -24,7 +24,7 @@ pub enum Io {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -113,7 +113,7 @@ impl Outbox {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/service/message.rs
@@ -5,7 +5,7 @@ use radicle::storage::refs::RefsAt;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -158,7 +158,7 @@ impl wire::Decode for NodeAnnouncement {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -247,7 +247,7 @@ impl RefsAnnouncement {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -260,7 +260,7 @@ pub struct InventoryAnnouncement {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -664,7 +664,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/service/session.rs
@@ -5,7 +5,7 @@ use crate::node::config::Limits;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -155,7 +155,7 @@ impl Session {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -171,7 +171,7 @@ impl Session {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -185,7 +185,7 @@ impl Session {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/test/arbitrary.rs
@@ -3,7 +3,7 @@ use qcheck::Arbitrary;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -55,7 +55,7 @@ impl Arbitrary for Message {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -84,7 +84,7 @@ impl Arbitrary for Message {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/test/environment.rs
@@ -15,7 +15,7 @@ use radicle::crypto::test::signer::MockSigner;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -233,7 +233,7 @@ impl<G: Signer + cyphernet::Ecdh> NodeHandle<G> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -244,13 +244,13 @@ impl<G: Signer + cyphernet::Ecdh> NodeHandle<G> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -276,7 +276,7 @@ impl<G: Signer + cyphernet::Ecdh> NodeHandle<G> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -296,12 +296,12 @@ impl<G: Signer + cyphernet::Ecdh> NodeHandle<G> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -310,7 +310,7 @@ impl<G: Signer + cyphernet::Ecdh> NodeHandle<G> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -377,7 +377,7 @@ impl<G: Signer + cyphernet::Ecdh> NodeHandle<G> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -459,7 +459,7 @@ impl<G: cyphernet::Ecdh<Pk = NodeId> + Signer + Clone> Node<G> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -516,7 +516,7 @@ impl<G: cyphernet::Ecdh<Pk = NodeId> + Signer + Clone> Node<G> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -528,10 +528,10 @@ impl<G: cyphernet::Ecdh<Pk = NodeId> + Signer + Clone> Node<G> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/test/handle.rs
@@ -6,7 +6,7 @@ use std::time;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -14,8 +14,8 @@ use crate::service::NodeId;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -44,13 +44,13 @@ impl radicle::node::Handle for Handle {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -60,11 +60,11 @@ impl radicle::node::Handle for Handle {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -83,7 +83,7 @@ impl radicle::node::Handle for Handle {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/test/peer.rs
@@ -17,7 +17,7 @@ use radicle::Storage;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -132,7 +132,7 @@ impl Default for Config<MockSigner> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -256,7 +256,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -297,7 +297,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -468,7 +468,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/test/simulator.rs
@@ -15,7 +15,7 @@ use localtime::{LocalDuration, LocalTime};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -66,7 +66,7 @@ pub enum Input {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/tests.rs
@@ -16,7 +16,7 @@ use radicle::storage::refs::RefsAt;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -57,7 +57,7 @@ use crate::{git, identity, rad, runtime, service, test};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -369,7 +369,9 @@ fn test_inventory_pruning() {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -391,7 +393,7 @@ fn test_inventory_pruning() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -473,7 +475,7 @@ fn test_announcement_rebroadcast_duplicates() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1249,7 +1251,7 @@ fn test_maintain_connections_failed_attempt() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1268,7 +1270,7 @@ fn test_seed_repo_subscribe() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1293,7 +1295,7 @@ fn test_fetch_missing_inventory_on_gossip() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/wire.rs
@@ -19,7 +19,7 @@ use byteorder::{NetworkEndian, ReadBytesExt, WriteBytesExt};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -215,7 +215,7 @@ impl Encode for git::Url {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -420,7 +420,7 @@ impl Decode for String {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -572,8 +572,8 @@ mod tests {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified radicle-node/src/wire/message.rs
@@ -149,7 +149,7 @@ impl wire::Encode for RefsAnnouncement {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -244,7 +244,7 @@ impl wire::Decode for Info {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -478,7 +478,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/worker.rs
@@ -10,7 +10,7 @@ use std::{io, time};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -78,7 +78,7 @@ pub enum UploadError {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -103,7 +103,7 @@ pub enum FetchRequest {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -132,7 +132,7 @@ impl FetchRequest {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -261,7 +261,7 @@ impl Worker {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -274,7 +274,7 @@ impl Worker {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/worker/fetch.rs
@@ -3,7 +3,7 @@ pub mod error;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -31,7 +31,7 @@ pub enum Handle {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -52,7 +52,7 @@ impl Handle {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -113,7 +113,7 @@ impl Handle {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/worker/garbage.rs
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -36,7 +36,7 @@ impl fmt::Display for Expiry {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/worker/upload_pack.rs
@@ -132,7 +132,7 @@ pub(super) mod pktline {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -195,7 +195,7 @@ pub(super) mod pktline {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-remote-helper/src/push.rs
@@ -15,7 +15,7 @@ use radicle::explorer::ExplorerResource;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -631,7 +631,7 @@ fn push_ref(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/cob/identity.rs
@@ -18,7 +18,7 @@ use crate::{
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -137,7 +137,7 @@ pub enum Error {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -241,7 +241,7 @@ impl Identity {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1004,7 +1004,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/cob/patch.rs
@@ -2557,7 +2557,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/explorer.rs
@@ -2,7 +2,7 @@ use std::str::FromStr;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -47,7 +47,7 @@ pub struct ExplorerUrl {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -95,7 +95,7 @@ impl Default for Explorer {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/identity.rs
@@ -5,7 +5,7 @@ pub mod project;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/identity/doc.rs
@@ -482,7 +482,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/identity/doc/id.rs
@@ -18,23 +18,23 @@ pub enum IdError {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -69,7 +69,7 @@ impl Id {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -77,7 +77,7 @@ impl FromStr for Id {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -86,19 +86,19 @@ impl TryFrom<OsString> for Id {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -106,7 +106,7 @@ impl Deref for Id {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -115,7 +115,7 @@ impl serde::Serialize for Id {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -124,11 +124,11 @@ impl<'de> serde::Deserialize<'de> for Id {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -139,9 +139,9 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/lib.rs
@@ -38,7 +38,7 @@ pub mod prelude {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/node.rs
@@ -26,7 +26,7 @@ use serde_json as json;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -92,7 +92,7 @@ pub enum State {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -411,7 +411,7 @@ impl From<Address> for HostName {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -432,7 +432,7 @@ pub enum Command {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -440,18 +440,18 @@ pub enum Command {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -803,25 +803,25 @@ pub trait Handle: Clone + Sync + Send {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -889,7 +889,7 @@ impl Node {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -984,7 +984,7 @@ impl Handle for Node {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -995,7 +995,7 @@ impl Handle for Node {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1021,7 +1021,7 @@ impl Handle for Node {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1035,14 +1035,14 @@ impl Handle for Node {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/node/events.rs
@@ -14,20 +14,20 @@ use crate::storage::{refs, RefUpdate};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -39,12 +39,12 @@ pub enum Event {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/node/policy.rs
@@ -7,14 +7,14 @@ use std::str::FromStr;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/node/policy/config.rs
@@ -6,7 +6,7 @@ use log::error;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -18,28 +18,28 @@ pub use crate::node::policy::{Alias, Node, Policy, Repo, Scope};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -75,7 +75,7 @@ impl<T> Config<T> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -98,7 +98,7 @@ impl<T> Config<T> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -106,7 +106,11 @@ impl<T> Config<T> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/node/policy/store.rs
@@ -7,7 +7,7 @@ use sqlite as sql;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -132,7 +132,7 @@ impl Store<Write> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -164,7 +164,7 @@ impl Store<Write> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -190,7 +190,7 @@ impl Store<Write> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -215,7 +215,7 @@ impl<T> Store<T> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -252,7 +252,7 @@ impl<T> Store<T> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -343,7 +343,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -369,7 +369,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -403,7 +403,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -414,7 +414,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/node/routing.rs
@@ -6,7 +6,7 @@ use thiserror::Error;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -35,11 +35,11 @@ pub enum Error {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -47,24 +47,24 @@ pub trait Store {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -77,18 +77,18 @@ impl Store for Database {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -104,10 +104,10 @@ impl Store for Database {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -144,7 +144,7 @@ impl Store for Database {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -160,7 +160,7 @@ impl Store for Database {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -201,7 +201,7 @@ impl Store for Database {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -237,7 +237,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -260,7 +260,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -278,7 +278,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -301,7 +301,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -320,7 +320,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -340,7 +340,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -357,8 +357,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -384,7 +384,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -399,7 +399,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -411,7 +411,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -420,7 +420,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -441,7 +441,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/node/seed/store.rs
@@ -10,7 +10,7 @@ use crate::node::address;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -29,7 +29,7 @@ pub trait Store: address::Store {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -38,18 +38,18 @@ pub trait Store: address::Store {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -72,7 +72,7 @@ impl Store for Database {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -106,7 +106,7 @@ impl Store for Database {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -116,7 +116,7 @@ impl Store for Database {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/rad.rs
@@ -10,7 +10,7 @@ use crate::cob::ObjectId;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -52,7 +52,7 @@ pub fn init<G: Signer, S: WriteStorage>(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -127,14 +127,14 @@ pub enum ForkError {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -169,7 +169,7 @@ pub fn fork_remote<G: Signer, S: storage::WriteStorage>(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -198,7 +198,7 @@ pub enum CheckoutError {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -206,7 +206,7 @@ pub enum CheckoutError {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -265,11 +265,11 @@ pub enum RemoteError {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -305,7 +305,7 @@ pub fn remove_remote(repo: &git2::Repository) -> Result<(), RemoteError> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -313,7 +313,7 @@ pub fn cwd() -> Result<(git2::Repository, Id), RemoteError> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/sql.rs
@@ -4,7 +4,7 @@ use std::str::FromStr;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -28,12 +28,12 @@ pub fn transaction<T, E: From<sql::Error>>(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -45,7 +45,7 @@ impl TryFrom<&Value> for Id {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/storage.rs
@@ -20,7 +20,7 @@ use crate::git::ext as git_ext;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -28,7 +28,7 @@ use self::git::UserInfo;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -344,16 +344,16 @@ pub trait ReadStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -367,9 +367,9 @@ pub trait WriteStorage: ReadStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -379,13 +379,13 @@ pub trait WriteStorage: ReadStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -585,11 +585,11 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -597,11 +597,11 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -613,15 +613,15 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/storage/git.rs
@@ -14,7 +14,7 @@ use tempfile::TempDir;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -46,7 +46,7 @@ pub static CANONICAL_IDENTITY: Lazy<git::Qualified> = Lazy::new(|| {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -101,11 +101,11 @@ impl ReadStorage for Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -123,7 +123,7 @@ impl ReadStorage for Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -131,15 +131,15 @@ impl ReadStorage for Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -173,7 +173,7 @@ impl Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -213,8 +213,8 @@ impl Storage {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -272,7 +272,7 @@ impl Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -335,14 +335,14 @@ pub enum Validation {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -426,7 +426,7 @@ impl Repository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -577,7 +577,7 @@ impl ValidateRepository for Repository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -988,10 +988,10 @@ pub mod trailers {
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1285,7 +1285,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/storage/git/cob.rs
@@ -250,7 +250,7 @@ impl<'a, R: storage::ValidateRepository> ValidateRepository for DraftStore<'a, R
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/storage/git/transport/local/url.rs
@@ -6,7 +6,7 @@ use thiserror::Error;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -38,7 +38,7 @@ pub enum UrlError {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -54,8 +54,8 @@ impl Url {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -88,7 +88,7 @@ impl FromStr for Url {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -107,7 +107,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -137,7 +137,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/storage/git/transport/remote/url.rs
@@ -6,7 +6,7 @@ use thiserror::Error;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -40,7 +40,7 @@ pub struct Url {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -89,7 +89,7 @@ impl FromStr for Url {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -110,7 +110,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/test.rs
@@ -122,7 +122,7 @@ pub mod setup {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -241,7 +241,7 @@ pub mod setup {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/test/arbitrary.rs
@@ -12,7 +12,7 @@ use qcheck::Arbitrary;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -68,7 +68,7 @@ pub fn vec<T: Eq + Arbitrary>(size: usize) -> Vec<T> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -224,7 +224,7 @@ impl Arbitrary for MockStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -241,12 +241,12 @@ impl Arbitrary for storage::Remote<crypto::Verified> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/test/fixtures.rs
@@ -4,7 +4,7 @@ use std::str::FromStr;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -55,7 +55,7 @@ pub fn project<P: AsRef<Path>, G: Signer>(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/test/storage.rs
@@ -6,7 +6,7 @@ use std::str::FromStr;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -16,16 +16,16 @@ use super::fixtures;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -39,7 +39,7 @@ impl MockStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -55,11 +55,11 @@ impl ReadStorage for MockStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -67,7 +67,7 @@ impl ReadStorage for MockStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -83,7 +83,7 @@ impl ReadStorage for MockStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -92,24 +92,24 @@ impl WriteStorage for MockStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -157,7 +157,7 @@ impl ValidateRepository for MockRepository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|