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

Method get_request_node

src/entities/collections.rs:624–631  ·  view source on GitHub ↗
(
        &self,
        collection_id: Uuid,
        node_id: Uuid,
    )

Source from the content-addressed store, hash-verified

622 return false;
623 };
624
625 let Some(folder) = node.folder_mut() else {
626 return false;
627 };
628
629 folder.expanded = !folder.expanded;
630 self.bump_revision();
631 self.save_to_file();
632 cx.emit(CollectionsEvent::CollectionUpdated(collection_id));
633 cx.notify();
634 true

Callers 1

load_collection_itemMethod · 0.80

Calls 1

get_nodeMethod · 0.80

Tested by

no test coverage detected