git-next/crates/config/src/forge_alias.rs

7 lines
238 B
Rust
Raw Normal View History

crate::newtype!(ForgeAlias: String, Hash, derive_more::Display, Default: "The name of a Forge to connect to");
2024-06-16 08:00:43 +01:00
impl From<&ForgeAlias> for std::path::PathBuf {
fn from(value: &ForgeAlias) -> Self {
Self::from(&value.0)
}
}