#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub struct RenamedName {
pub current: &'static str,
pub earlier: &'static str,
}
pub const PROGRAM: RenamedName = RenamedName {
current: "monochromatic-git-policy-cli",
earlier: "cli-git-native",
};
pub const COMMAND_WORD: RenamedName = RenamedName {
current: "monochromatic-git-policy-cli",
earlier: "cli-git",
};
pub const SETTINGS_FILE: RenamedName = RenamedName {
current: "monochromatic-git-policy-cli.config.jsonc",
earlier: "cli-git.config.jsonc",
};
pub const MESSAGE_PREFIX: RenamedName = RenamedName {
current: "monochromatic-git-policy-cli",
earlier: "cli-git",
};
pub const DATA_FOLDER: RenamedName = RenamedName {
current: "monochromatic-git-policy-cli",
earlier: "cli-git",
};
pub const DISCARD_AUDIT_LOG: RenamedName = RenamedName {
current: "monochromatic-git-policy-cli-audit.jsonl",
earlier: "cli-git-audit.jsonl",
};
pub const COMMIT_TIMING_LOG: RenamedName = RenamedName {
current: "monochromatic-git-policy-cli-commit-timing.jsonl",
earlier: "cli-git-commit-timing.jsonl",
};
pub const WORKTREE_ADD_TIMING_LOG: RenamedName = RenamedName {
current: "monochromatic-git-policy-cli-worktree-add-timing.jsonl",
earlier: "cli-git-worktree-add-timing.jsonl",
};
pub const PUSH_TRIGGER_LOG: RenamedName = RenamedName {
current: "monochromatic-git-policy-cli-push-trigger.jsonl",
earlier: "cli-git-push-trigger.jsonl",
};
pub const MERGE_INTENT_FOLDER: RenamedName = RenamedName {
current: "monochromatic-git-policy-cli-merges",
earlier: "cli-git-merges",
};
pub const WORKTREE_COPY_RECORD_FOLDER: RenamedName = RenamedName {
current: "monochromatic-git-policy-cli-worktree-copy",
earlier: "cli-git-worktree-copy",
};
pub const REPOSITORY_SCRATCH: RenamedName = RenamedName {
current: "monochromatic-git-policy-cli-scratch",
earlier: "cli-git-scratch",
};
pub const SERVICE_UNIT: RenamedName = RenamedName {
current: "monochromatic-git-policy-cli",
earlier: "cli-git",
};
#[cfg(test)]
#[path = "wrapper_names_old_and_new_tests.rs"]
mod tests;