radicle/sigrefs/write: Treat error to verify head
modified crates/radicle-fetch/src/policy.rs
@@ -129,6 +129,12 @@ pub mod error {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
modified crates/radicle-protocol/src/worker/fetch/error.rs
@@ -18,7 +18,7 @@ pub enum Fetch {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -28,6 +28,12 @@ pub enum Fetch {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage.rs
@@ -107,7 +107,7 @@ impl SetHead {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -119,7 +119,7 @@ pub enum RepositoryError {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -130,6 +130,18 @@ pub enum RepositoryError {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/git.rs
@@ -202,7 +202,7 @@ impl WriteStorage for Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -259,7 +259,7 @@ impl Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/write.rs
@@ -135,12 +135,13 @@ where
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -148,7 +149,12 @@ where
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -383,7 +389,10 @@ where
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/storage/refs/sigrefs/write/error.rs
@@ -1,3 +1,4 @@
| + | |
|
|
|
|
|
@@ -43,6 +44,9 @@ pub enum Head {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
modified crates/radicle/src/test/storage.rs
@@ -89,7 +89,7 @@ impl ReadStorage for MockStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -115,7 +115,7 @@ impl WriteStorage for MockStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|