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

Method delete_collection_node

src/views/main_view.rs:519–528  ·  view source on GitHub ↗

Delete an item from a collection

(
        &mut self,
        collection_id: Uuid,
        node_id: Uuid,
        cx: &mut Context<Self>,
    )

Source from the content-addressed store, hash-verified

517 };
518 if let TabContent::Request {
519 method_dropdown,
520 request_view,
521 ..
522 } = &tab.content
523 {
524 let method_dropdown = method_dropdown.clone();
525 let request_view = request_view.clone();
526
527 method_dropdown.update(cx, |state, cx| {
528 state.set_method(parsed.method, cx);
529 });
530 request_view.update(cx, |view, cx| {
531 view.apply_parsed_curl(parsed, window, cx);

Callers 1

renderMethod · 0.80

Calls 1

remove_nodeMethod · 0.80

Tested by

no test coverage detected