MCPcopy Create free account
hub / github.com/bajrangCoder/setu / get_params

Method get_params

src/components/params_editor.rs:99–108  ·  view source on GitHub ↗

Get all params

(&self, cx: &App)

Source from the content-addressed store, hash-verified

97 ) {
98 // Preserve descriptions across bulk round-trips by matching keys.
99 let mut descriptions: HashMap<String, String> = HashMap::new();
100 for row in &self.param_rows {
101 let key = row.key_input.read(cx).text().to_string();
102 let description = row.description_input.read(cx).text().to_string();
103 if !key.is_empty() && !description.is_empty() {
104 descriptions.insert(key.clone(), description);
105 }
106 }
107
108 self.param_rows.clear();
109 for entry in entries {
110 let description = descriptions.get(&entry.key).cloned().unwrap_or_default();
111 let completion_engine = self.completion_engine.clone();

Callers 1

build_query_stringMethod · 0.80

Calls 1

textMethod · 0.80

Tested by

no test coverage detected