MCPcopy Create free account
hub / github.com/bevyengine/bevy-website / get_commit

Method get_commit

generate-release/src/github_client.rs:325–332  ·  view source on GitHub ↗

Gets the data for a specific commit on the provided `bevyengine` repo.

(
        &self,
        git_ref: &str,
        repo: BevyRepo,
    )

Source from the content-addressed store, hash-verified

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 ///

Callers 1

get_merged_prsFunction · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected