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

Method should_fetch

backend/src/http/page.rs:61–63  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

59 }
60
61 pub fn should_fetch(&self) -> bool {
62 !self.0.is_pdf() && !self.0.avoid_requests()
63 }
64}
65
66#[cfg(test)]

Callers 1

fetchMethod · 0.80

Calls 2

is_pdfMethod · 0.80
avoid_requestsMethod · 0.80

Tested by

no test coverage detected