2024-05-11 19:46:20 +01:00
|
|
|
/// The alias of a repo
|
|
|
|
/// This is the alias for the repo within `git-next-server.toml`
|
2024-05-19 20:02:06 +01:00
|
|
|
#[derive(Clone, Default, Debug, PartialEq, Eq, Hash, derive_more::Display)]
|
2024-05-14 07:59:31 +01:00
|
|
|
pub struct RepoAlias(String);
|
|
|
|
impl RepoAlias {
|
|
|
|
pub fn new(str: impl Into<String>) -> Self {
|
|
|
|
Self(str.into())
|
|
|
|
}
|
|
|
|
}
|