2024-05-11 19:46:20 +01:00
|
|
|
/// The name of a Branch
|
2024-05-19 20:02:06 +01:00
|
|
|
#[derive(Clone, Default, Debug, Hash, PartialEq, Eq, derive_more::Display)]
|
2024-05-12 22:27:20 +01:00
|
|
|
pub struct BranchName(String);
|
|
|
|
impl BranchName {
|
|
|
|
pub fn new(str: impl Into<String>) -> Self {
|
|
|
|
Self(str.into())
|
2024-05-11 19:46:20 +01:00
|
|
|
}
|
|
|
|
}
|