modified node/src/git.rs
@@ -9,6 +9,7 @@ use crate::storage::refs::Refs;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -43,7 +44,7 @@ pub fn remote_refs(url: &Url) -> Result<HashMap<RemoteId, Refs>, ListRefsError>
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/storage.rs
@@ -15,8 +15,8 @@ pub use radicle_git_ext::Oid;
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -48,7 +48,6 @@ pub enum Error {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -186,9 +185,9 @@ pub trait ReadRepository {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/storage/git.rs
@@ -214,7 +214,7 @@ impl ReadRepository for Repository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -226,7 +226,11 @@ impl ReadRepository for Repository {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -249,7 +253,7 @@ impl ReadRepository for Repository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -338,7 +342,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -351,7 +355,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -366,10 +370,10 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -403,7 +407,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/storage/refs.rs
@@ -7,6 +7,7 @@ use std::ops::{Deref, DerefMut};
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -18,7 +19,7 @@ use crate::git::Oid;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -51,7 +52,7 @@ pub enum Error {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -100,7 +101,7 @@ impl Refs {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -110,7 +111,7 @@ impl Refs {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -122,7 +123,7 @@ impl Refs {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -134,14 +135,14 @@ impl<V> From<SignedRefs<V>> for Refs {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -196,7 +197,7 @@ impl SignedRefs<Verified> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -233,8 +234,9 @@ impl SignedRefs<Verified> {
|
|
|
|
|
|
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -260,13 +262,13 @@ impl SignedRefs<Verified> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -306,6 +308,8 @@ pub mod canonical {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -325,10 +329,6 @@ mod tests {
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
|
| - | |
| - | |
modified node/src/test/arbitrary.rs
@@ -7,6 +7,7 @@ use quickcheck::Arbitrary;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -50,7 +51,7 @@ impl Arbitrary for MockStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -69,7 +70,9 @@ impl Arbitrary for Refs {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified node/src/test/storage.rs
@@ -1,6 +1,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -96,7 +97,7 @@ impl ReadRepository for MockRepository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -104,7 +105,7 @@ impl ReadRepository for MockRepository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|