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

Function scope_item

atomic-canonical/src/gate.rs:468–475  ·  view source on GitHub ↗
(id: &str, text: &str)

Source from the content-addressed store, hash-verified

466 use atomic_identity::keypair::KeyPair;
467
468 fn scope_item(id: &str, text: &str) -> ScopeItem {
469 ScopeItem {
470 type_: NodeType::ScopeItem.as_str().to_string(),
471 id: id.to_string(),
472 text: text.to_string(),
473 files: Vec::new(),
474 }
475 }
476
477 fn ac(id: &str) -> AcceptanceCriterion {
478 AcceptanceCriterion {

Callers

nothing calls this directly

Calls 1

as_strMethod · 0.45

Tested by

no test coverage detected