add_and_commit

Function add_and_commit 

Source
pub fn add_and_commit(
    repo: &Repository,
    file_path: &Path,
    message: &str,
) -> Result<(), Error>