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

8 lines
236 B
Rust
Raw Normal View History

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