MCPcopy Index your code
hub / github.com/emwalker/digraph / title

Method title

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

Source from the content-addressed store, hash-verified

18
19impl Response {
20 pub fn title(&self) -> Option<String> {
21 let sel = Selector::parse("title").expect("failed to parse selector");
22 self.body
23 .select(&sel)
24 .next()
25 .map(|element| element.inner_html())
26 }
27}
28
29impl Page {

Callers

nothing calls this directly

Calls 2

parseFunction · 0.85
nextMethod · 0.80

Tested by

no test coverage detected