Gets the data for a specific commit on the provided `bevyengine` repo.
(
&self,
git_ref: &str,
repo: BevyRepo,
)
| 323 | |
| 324 | /// Gets the data for a specific commit on the provided `bevyengine` repo. |
| 325 | pub fn get_commit( |
| 326 | &self, |
| 327 | git_ref: &str, |
| 328 | repo: BevyRepo, |
| 329 | ) -> anyhow::Result<GithubCommitResponse> { |
| 330 | let request = self.get(&format!("commits/{git_ref}"), repo); |
| 331 | Ok(request.call()?.into_json()?) |
| 332 | } |
| 333 | |
| 334 | /// Opens a new issue on the specified repo. |
| 335 | /// |