MCPcopy Create free account
hub / github.com/cowprotocol/services / github

Method github

contracts/src/vendor.rs:268–272  ·  view source on GitHub ↗
(path: &str)

Source from the content-addressed store, hash-verified

266 }
267
268 fn github(path: &str) -> Result<Self> {
269 Ok(Self(Url::parse(&format!(
270 "https://raw.githubusercontent.com/{path}"
271 ))?))
272 }
273
274 fn fetch_json(self) -> Result<serde_json::Value> {
275 let value = match reqwest::blocking::get(self.0)?.json::<serde_json::Value>()? {

Callers 1

runFunction · 0.80

Calls 2

parseFunction · 0.85
vendor_sourceMethod · 0.80

Tested by

no test coverage detected