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

Method get_node

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

Source from the content-addressed store, hash-verified

617 let Some(collection) = self.collections.iter_mut().find(|c| c.id == collection_id) else {
618 return false;
619 };
620
621 let Some(node) = find_node_mut(&mut collection.nodes, node_id) else {
622 return false;
623 };
624
625 let Some(folder) = node.folder_mut() else {

Callers 2

get_request_nodeMethod · 0.80

Calls 2

find_nodeFunction · 0.85
get_collectionMethod · 0.80

Tested by

no test coverage detected