radicle-cob: simplify Objects and remove identifier
modified radicle-cob/src/object/collaboration/get.rs
@@ -13,15 +13,11 @@ use super::error;
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -29,7 +25,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cob/src/object/collaboration/info.rs
@@ -38,14 +38,10 @@ pub struct ChangeGraphInfo {
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -53,7 +49,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cob/src/object/collaboration/list.rs
@@ -13,20 +13,16 @@ use super::error;
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cob/src/object/collaboration/update.rs
@@ -76,7 +76,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cob/src/object/storage.rs
@@ -14,20 +14,27 @@ use crate::{ObjectId, TypeName};
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -61,18 +68,13 @@ pub trait Storage {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified radicle-cob/src/test/storage.rs
@@ -107,26 +107,10 @@ impl object::Storage for Storage {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -135,31 +119,28 @@ impl object::Storage for Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-cob/src/tests.rs
@@ -34,7 +34,7 @@ fn roundtrip() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -80,7 +80,7 @@ fn list_cobs() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -115,7 +115,7 @@ fn update_cob() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -134,7 +134,7 @@ fn update_cob() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cob/src/type_name.rs
@@ -21,6 +21,12 @@ use thiserror::Error;
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|