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

Method switches

src/ast/block.rs:43–50  ·  view source on GitHub ↗

```rust use orgize::{Org, ast::SourceBlock}; let block = Org::parse("#+begin_src emacs-lisp -n 20\n#+end_src").first_node:: ().unwrap(); assert_eq!(block.switches().unwrap(), "-n 20"); let block = Org::parse("#+begin_src emacs-lisp -n 20 -r :tangle yes \n#+end_src").first_node:: ().unwrap(); assert_eq!(block.switches().unwrap(), "-n 20 -r"); let block = Org::parse("#+begi

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

filter_tokenFunction · 0.85
findMethod · 0.80

Tested by

no test coverage detected