feat: Support entry renaming #3

Manually merged
awiteb merged 7 commits from awiteb/support-renaming into master 2024-12-25 13:16:43 +01:00 AGit
Showing only changes of commit 5e040d6530 - Show all commits

View file

@ -9,3 +9,13 @@ pub enum Mode {
/// TODO
Rename(String),
}
impl Mode {
/// TODO
pub fn new_name(&self) -> Option<&str> {
match &self {
Mode::Rename(new_name) => Some(new_name),
_ => None,
}
}
}