git_rune/git/mod.rs
1mod diff;
2mod hook;
3mod repo;
4mod utils;
5
6pub use diff::{get_diff, get_diff_with_excludes};
7pub use hook::{install_default_config, install_hook};
8pub use repo::GitRepo;
9pub use utils::{find_git_root, find_git_root_from};
10
11pub fn write_commit_template(message: &str) -> crate::error::Result<()> {
12 utils::write_commit_template(message)
13}