radicle/sigrefs: Merge `SignedRefs{,At}`
modified crates/radicle-cli/src/commands/inspect.rs
@@ -75,7 +75,7 @@ pub fn run(args: Args, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -101,6 +101,9 @@ pub fn run(args: Args, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-fetch/src/sigrefs.rs
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -23,7 +23,7 @@ pub mod error {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -33,5 +33,5 @@ pub(crate) fn validate(
|
|
|
|
|
|
| - | |
| + | |
|
modified crates/radicle-fetch/src/state.rs
@@ -17,7 +17,7 @@ use crate::git;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -529,8 +529,8 @@ impl FetchState {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -576,8 +576,8 @@ impl FetchState {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -754,10 +754,10 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -799,7 +799,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/test/peer.rs
@@ -17,7 +17,7 @@ use radicle::node::UserAgent;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -362,7 +362,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/identity/doc/update.rs
@@ -250,13 +250,13 @@ fn verify_delegates(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/rad.rs
@@ -15,7 +15,7 @@ use crate::identity::project::{Project, ProjectName};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -55,7 +55,7 @@ pub fn init<G, S>(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -102,7 +102,7 @@ fn init_configure<G>(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage.rs
@@ -26,7 +26,7 @@ use crate::identity::{Identity, RepoId};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -36,13 +36,13 @@ pub enum SignedRefsInfo {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -385,7 +385,7 @@ impl IntoIterator for Remotes {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -401,12 +401,12 @@ impl From<Remotes> for RandomMap<RemoteId, SignedRefsAt> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -428,7 +428,7 @@ impl Remote {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -697,14 +697,14 @@ pub trait WriteRepository: ReadRepository + SignRepository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/git.rs
@@ -18,7 +18,7 @@ use crate::identity::doc::DocError;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -166,7 +166,7 @@ impl ReadStorage for Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -201,7 +201,7 @@ impl WriteStorage for Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -258,7 +258,7 @@ impl Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -631,7 +631,7 @@ impl RemoteRepository for Repository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -656,7 +656,7 @@ impl RemoteRepository for Repository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1007,14 +1007,14 @@ impl SignRepository for Repository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1024,7 +1024,7 @@ impl Repository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/git/cob.rs
@@ -239,7 +239,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -250,7 +250,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs.rs
@@ -21,7 +21,7 @@ use crate::git::raw::ErrorExt as _;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -76,7 +76,7 @@ impl Refs {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -94,7 +94,7 @@ impl Refs {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -112,7 +112,7 @@ impl Refs {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -257,12 +257,6 @@ impl From<Refs> for BTreeMap<git::fmt::RefString, Oid> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -333,96 +327,10 @@ impl std::fmt::Display for FeatureLevel {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -450,12 +358,12 @@ impl RefsAt {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -471,13 +379,52 @@ impl std::fmt::Display for RefsAt {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -485,42 +432,53 @@ impl SignedRefsAt {
|
|
|
|
|
|
| - | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -678,7 +636,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/arbitrary.rs
@@ -6,7 +6,7 @@ use crate::node::device::Device;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -22,15 +22,12 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/read.rs
@@ -19,8 +19,8 @@ use crate::git;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -50,15 +50,13 @@ impl VerifiedCommit {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/write.rs
@@ -16,11 +16,11 @@ use crate::git;
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -204,16 +204,14 @@ impl Commit {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/test/fixtures.rs
@@ -10,7 +10,7 @@ use crate::node::Alias;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -72,7 +72,7 @@ pub fn project<P, G>(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/test/storage.rs
@@ -134,7 +134,7 @@ impl WriteStorage for MockStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -170,7 +170,7 @@ impl self::refs::sigrefs::git::reference::Reader for MockRepository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -292,7 +292,7 @@ impl ReadRepository for MockRepository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -370,14 +370,14 @@ impl SignRepository for MockRepository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|