MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / scope

Function scope

atomic-canonical/src/render.rs:488–495  ·  view source on GitHub ↗
(id: &str, text: &str)

Source from the content-addressed store, hash-verified

486 }
487
488 fn scope(id: &str, text: &str) -> ScopeItem {
489 ScopeItem {
490 type_: NodeType::ScopeItem.as_str().to_string(),
491 id: id.to_string(),
492 text: text.to_string(),
493 files: Vec::new(),
494 }
495 }
496
497 #[test]
498 fn render_includes_scope_and_constraints() {

Calls 1

as_strMethod · 0.45