radicle: remove `TryFrom`

This commit is contained in:
Fintan Halpenny 2025-11-21 10:54:55 -03:00 committed by Lorenz Leutgeb
parent 57da779949
commit 9dbbb01dc6
2 changed files with 2 additions and 8 deletions

View File

@ -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

View File

@ -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.
///