Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
radicle: remove `TryFrom`
✗ CI failure Fintan Halpenny committed 1 month ago
commit dfe1cd2bffcb9498dfc3efce06e63001ff2caca4
parent fdd67f41e09209234762c13f74ffafbc3fa2bfe4
1 failed (1 total) View logs
2 files changed +2 -8
modified crates/radicle/CHANGELOG.md
@@ -22,6 +22,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Opening database connections requires specification of a configuration.
  `radicle::Profile` conveniently provides methods that supply the
  configuration from `radicle::Profile::config`.
+
- The `TryFrom<PathBuf>` implementation for `Home` is removed in favor of using
+
  the `Home::new` and `Home::load` methods.

### Removed

modified crates/radicle/src/profile.rs
@@ -556,14 +556,6 @@ pub struct Home {
    path: PathBuf,
}

-
impl TryFrom<PathBuf> for Home {
-
    type Error = io::Error;
-

-
    fn try_from(home: PathBuf) -> Result<Self, Self::Error> {
-
        Self::new(home)
-
    }
-
}
-

impl Home {
    /// Creates the Radicle Home directories.
    ///