pub async fn commit_all( dir: &Path, message: &str, agent: &str, when: When, ) -> Result<Outcome>
Commit every change in dir with the tool the repository uses
dir