MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / on_request

Method on_request

crates/openshell-driver-vm/src/lifecycle.rs:799–807  ·  view source on GitHub ↗
(name: &str, key: &'static str)

Source from the content-addressed store, hash-verified

797 }
798
799 fn on_request(name: &str, key: &'static str) -> Arc<Self> {
800 Arc::new(Self {
801 name: name.to_string(),
802 configure_should_fail: false,
803 before_should_fail: false,
804 activation: ExtensionActivation::OnRequest { key },
805 calls: Mutex::new(Vec::new()),
806 })
807 }
808
809 fn failing(name: &str) -> Arc<Self> {
810 Arc::new(Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected