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

Method is_block

core/src/hooks/engine.rs:170–172  ·  view source on GitHub ↗

Check if this is a block result

(&self)

Source from the content-addressed store, hash-verified

168
169 /// Check if this is a block result
170 pub fn is_block(&self) -> bool {
171 matches!(self, Self::Block(_))
172 }
173}
174
175/// Hook handler trait

Callers 1

fire_pre_tool_useMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected