Skip to main content

commit_all

Function commit_all 

Source
pub fn commit_all(_path: &Path, _message: &str) -> Result<()>
Expand description

Commits all changes in the git repository at the specified path.

§Parameters

  • path: The path to the git repository.
  • message: The commit message.

§Returns

  • Ok(()) if the commit was successful.
  • Err(Error) if an error occurred during the commit process.