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

Method new

generate-assets/src/github_client.rs:40–46  ·  view source on GitHub ↗
(token: String)

Source from the content-addressed store, hash-verified

38
39impl GithubClient {
40 pub fn new(token: String) -> Self {
41 let agent: ureq::Agent = ureq::AgentBuilder::new()
42 .user_agent("bevy-website-generate-assets")
43 .build();
44
45 Self { agent, token }
46 }
47
48 /// Gets the content of a file from a github repo
49 pub fn get_content(

Callers

nothing calls this directly

Calls 1

buildMethod · 0.45

Tested by

no test coverage detected