1use anyhow::Result; 2 3#[derive(Debug, Default, Clone, Copy)] 4pub struct CommitOptions { 5 pub allow_empty: bool, 6} 7 8pub trait GitPort { 9 fn commit(&self, message: &str, opts: &CommitOptions) -> Result<()>; 10}