Skip to main content

mit_commit_message_lints/mit/cmd/
mod.rs

1//! Mit commands
2const CONFIG_KEY_EXPIRES: &str = "mit.author.expires";
3const CONFIG_KEY_ROTATION: &str = "mit.author.rotate";
4
5pub(crate) mod get_authors;
6#[cfg(test)]
7mod get_authors_test;
8pub(crate) mod get_commit_coauthor_configuration;
9#[cfg(test)]
10pub(crate) mod get_commit_coauthor_configuration_test;
11pub(crate) mod set_commit_authors;
12pub(crate) mod set_config_authors;
13
14pub mod errors;
15pub mod get_config_non_clean_behaviour;
16
17/// Configuration for rotating primary author across commits
18///
19/// When rotation is enabled, the primary author (user.name/user.email)
20/// rotates among the configured authors with each commit.
21pub mod get_config_rotation;
22#[cfg(test)]
23mod get_config_rotation_test;
24/// Rotate the primary author among configured authors
25pub mod rotate_authors;
26#[cfg(test)]
27mod rotate_authors_test;
28#[cfg(test)]
29mod set_commit_authors_test;
30#[cfg(test)]
31mod set_config_authors_test;
32pub mod set_config_non_clean_behaviour;
33/// Configuration for rotating primary author across commits
34pub mod set_config_rotation;
35#[cfg(test)]
36mod set_config_rotation_test;
37mod vcs;