10 lines
320 B
Rust
10 lines
320 B
Rust
|
/// The alias of a repo
|
||
|
/// This is the alias for the repo within `git-next-server.toml`
|
||
|
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
|
||
|
pub struct RepoAlias(pub String);
|
||
|
impl std::fmt::Display for RepoAlias {
|
||
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||
|
write!(f, "{}", self.0)
|
||
|
}
|
||
|
}
|