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

Method all_hooks

core/src/hooks/engine.rs:399–401  ·  view source on GitHub ↗

Get all hooks

(&self)

Source from the content-addressed store, hash-verified

397
398 /// Get all hooks
399 pub fn all_hooks(&self) -> Vec<Hook> {
400 read_or_recover(&self.hooks).values().cloned().collect()
401 }
402}
403
404// Implement HookExecutor trait for HookEngine

Callers 1

test_all_hooksFunction · 0.80

Calls 1

read_or_recoverFunction · 0.85

Tested by 1

test_all_hooksFunction · 0.64