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

Method create_collection_folder

src/views/main_view.rs:548–558  ·  view source on GitHub ↗
(
        &mut self,
        collection_id: Uuid,
        parent_folder_id: Option<Uuid>,
        name: &str,
        cx: &mut Context<Self>,
    )

Source from the content-addressed store, hash-verified

546 })
547 .detach();
548 self.history_search = Some(input);
549 }
550 if self.collections_search.is_none() {
551 let input =
552 cx.new(|cx| InputState::new(window, cx).placeholder("Search collections..."));
553 cx.subscribe_in(&input, window, |_, _, event, _, cx| {
554 if matches!(event, gpui_component::input::InputEvent::Change) {
555 cx.notify();
556 }
557 })
558 .detach();
559 self.collections_search = Some(input);
560 }
561 }

Callers 1

Calls 1

create_folderMethod · 0.80

Tested by

no test coverage detected