EEBZMKMLEADO3ODXOQ7VNZNT36L7BYFRQUS2S2HLDVBZI7FHZQFQC fn commit(&self) -> Result<(), Error> {let xdg_dirs = xdg::BaseDirectories::with_prefix("histdb-rs").unwrap();let datadir_path = xdg_dirs.get_data_home();Command::new("git").arg("add").arg(":/").current_dir(&datadir_path).output().map_err(Error::GitAdd)?;let hostname = hostname::get().map_err(Error::GetHostname)?;Command::new("git").arg("commit").arg("-m").arg(format!("added changes from {:?}", hostname)).current_dir(&datadir_path).output().map_err(Error::GitCommit)?;Ok(())}