2024-06-19 07:03:08 +01:00
|
|
|
use derive_more::Display;
|
2024-07-21 13:44:44 +01:00
|
|
|
use serde::Serialize;
|
2024-06-19 07:03:08 +01:00
|
|
|
|
|
|
|
use crate::newtype;
|
|
|
|
|
2024-08-06 20:06:39 +01:00
|
|
|
newtype!(
|
|
|
|
RepoAlias,
|
|
|
|
String,
|
|
|
|
Display,
|
|
|
|
Default,
|
|
|
|
Hash,
|
|
|
|
PartialOrd,
|
|
|
|
Ord,
|
|
|
|
Serialize,
|
|
|
|
r#"The alias of a repo.
|
2024-06-29 14:56:20 +01:00
|
|
|
|
2024-08-06 20:06:39 +01:00
|
|
|
This is the alias for the repo within `git-next-server.toml`."#
|
|
|
|
);
|