MCPcopy Create free account
hub / github.com/WeaveMindAI/weft / code

Method code

crates/weft-nodes/src/node.rs:105–107  ·  view source on GitHub ↗
(key: &'static str)

Source from the content-addressed store, hash-verified

103 }
104
105 pub fn code(key: &'static str) -> Self {
106 Self::new(key, FieldType::Code)
107 }
108
109 pub fn select(key: &'static str, options: Vec<&'static str>) -> Self {
110 Self::new(key, FieldType::Select).with_options(options)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected