Returns `true` if this hook type represents a session boundary.
(&self)
| 119 | |
| 120 | /// Returns `true` if this hook type represents a session boundary. |
| 121 | pub fn is_session_boundary(&self) -> bool { |
| 122 | matches!(self, HookType::SessionStart | HookType::SessionEnd) |
| 123 | } |
| 124 | |
| 125 | /// Returns `true` if this hook type represents a tool use event. |
| 126 | pub fn is_tool_use(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected