radicle-types: Fix OID conversion
modified crates/radicle-types/src/diff.rs
@@ -152,7 +152,7 @@ pub struct DiffFile {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-types/src/lib.rs
@@ -11,6 +11,7 @@ pub mod config;
|
|
|
|
|
|
| + | |
|
|
|
|
|
added crates/radicle-types/src/oid.rs
@@ -0,0 +1,7 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified crates/radicle-types/src/repo.rs
@@ -172,12 +172,16 @@ pub struct Commit {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-types/src/source/blob.rs
@@ -35,7 +35,7 @@ impl<T: AsRef<[u8]>> From<surf::blob::Blob<T>> for Blob {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-types/src/source/commit.rs
@@ -23,12 +23,16 @@ pub struct Commit {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-types/src/source/tree.rs
@@ -21,7 +21,7 @@ pub struct Tree {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -76,9 +76,9 @@ impl Entry {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-types/src/syntax.rs
@@ -531,7 +531,7 @@ pub trait Repo {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -721,8 +721,8 @@ impl ToPretty for surf::diff::Moved {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -741,7 +741,7 @@ impl ToPretty for surf::diff::Added {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -757,7 +757,7 @@ impl ToPretty for surf::diff::Deleted {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -774,8 +774,8 @@ impl ToPretty for surf::diff::Modified {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -792,8 +792,8 @@ impl ToPretty for surf::diff::Copied {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-types/src/traits/repo.rs
@@ -1,4 +1,5 @@
|
|
| + | |
|
|
|
|
|
@@ -158,13 +159,14 @@ pub trait Repo: Profile {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -238,8 +240,8 @@ pub trait Repo: Profile {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -309,8 +311,8 @@ pub trait Repo: Profile {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|