MCPcopy Create free account
hub / github.com/emwalker/digraph / fetch

Method fetch

backend/tests/git/fixtures.rs:21–26  ·  view source on GitHub ↗
(&self, url: &RepoUrl)

Source from the content-addressed store, hash-verified

19
20impl Fetch for Fetcher {
21 fn fetch(&self, url: &RepoUrl) -> Result<Response> {
22 Ok(Response {
23 url: url.to_owned(),
24 body: Html::parse_document(&self.0),
25 })
26 }
27}
28
29pub struct Fixtures {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected