MCPcopy Create free account
hub / github.com/PoiScript/orgize / id

Method id

src/ast/cloze.rs:101–110  ·  view source on GitHub ↗

```rust use orgize::{Org, ast::Cloze}; let cloze = Org::parse("{{text}}").first_node:: ().unwrap(); assert!(cloze.id().is_none()); let cloze = Org::parse("{{text}@}").first_node:: ().unwrap(); assert_eq!(cloze.id().unwrap(), ""); let cloze = Org::parse("{{text}@id}").first_node:: ().unwrap(); assert_eq!(cloze.id().unwrap(), "id"); ```

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

TokenClass · 0.85

Tested by

no test coverage detected