MCPcopy Create free account
hub / github.com/AI45Lab/Code / unregister_hook

Method unregister_hook

core/src/agent_api/hook_control.rs:22–24  ·  view source on GitHub ↗
(&self, hook_id: &str)

Source from the content-addressed store, hash-verified

20 }
21
22 pub(super) fn unregister_hook(&self, hook_id: &str) -> Option<crate::hooks::Hook> {
23 self.session.hook_engine.unregister(hook_id)
24 }
25
26 pub(super) fn register_hook_handler(
27 &self,

Callers

nothing calls this directly

Calls 1

unregisterMethod · 0.45

Tested by

no test coverage detected