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

Method record_hook_event_state

core/src/ahp/executor.rs:722–727  ·  view source on GitHub ↗
(&self, event: &HookEvent)

Source from the content-addressed store, hash-verified

720 }
721
722 fn record_hook_event_state(&self, event: &HookEvent) {
723 if matches!(event, HookEvent::OnError(_)) {
724 self.record_error();
725 }
726 self.runtime_state.observe_hook_event(event);
727 }
728
729 fn heartbeat_payload(&self) -> HeartbeatEvent {
730 let snapshot = self.runtime_snapshot();

Callers 1

fireMethod · 0.80

Calls 2

record_errorMethod · 0.80
observe_hook_eventMethod · 0.80

Tested by

no test coverage detected