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

Method destination_options

src/views/main_view.rs:687–695  ·  view source on GitHub ↗
(entries: Vec<CollectionDestinationEntry>)

Source from the content-addressed store, hash-verified

685
686 /// Load a history entry into a new tab
687 pub fn load_history_entry(
688 &mut self,
689 entry_id: Uuid,
690 window: &mut Window,
691 cx: &mut Context<Self>,
692 ) {
693 // First extract all data we need, then drop the borrow
694 let entry_data = {
695 let history = self.history.read(cx);
696 history.get_entry(entry_id).map(|entry| {
697 (
698 entry.websocket_request.clone(),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected