MCPcopy Create free account
hub / github.com/NVIDIA/NeMo-Relay / find

Method find

crates/core/src/api/runtime/scope_stack.rs:108–110  ·  view source on GitHub ↗

Find a scope handle by UUID. # Parameters - `uuid`: UUID of the scope to search for. # Returns `Some(&ScopeHandle)` when the scope is active on this stack and `None` otherwise.

(&self, uuid: &Uuid)

Source from the content-addressed store, hash-verified

106 /// `Some(&ScopeHandle)` when the scope is active on this stack and `None`
107 /// otherwise.
108 pub fn find(&self, uuid: &Uuid) -> Option<&ScopeHandle> {
109 self.stack.iter().find(|handle| handle.uuid == *uuid)
110 }
111
112 /// Remove the current top scope if it matches `uuid`.
113 ///

Callers 15

fieldMethod · 0.45
extract_user_messagesFunction · 0.45
merge_observation_resultFunction · 0.45
push_bytesMethod · 0.45
pricing_forMethod · 0.45
rates_for_usageMethod · 0.45
pop_scopeFunction · 0.45

Calls

no outgoing calls