MCPcopy Index your code
hub / github.com/PoiScript/orgize / title

Method title

src/ast/document.rs:46–57  ·  view source on GitHub ↗

Returns the value in top-level `#+TITLE` Multiple `#+TITLE` are joined with spaces. Returns `None` if file doesn't contain `#+TITLE` ```rust use orgize::{Org, ast::Document}; let org = Org::parse("#+TITLE: hello\n#+TITLE: world"); let doc = org.first_node:: ().unwrap(); assert_eq!(doc.title().unwrap(), "hello world"); let org = Org::parse(""); let doc = org.first_node:: ().u

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

eventMethod · 0.45
eventMethod · 0.45
mainFunction · 0.45

Calls 6

keywordsMethod · 0.80
pushMethod · 0.80
documentMethod · 0.80
keyMethod · 0.45
push_strMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected