MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_session_boundary

Method is_session_boundary

atomic-agent/src/event.rs:121–123  ·  view source on GitHub ↗

Returns `true` if this hook type represents a session boundary.

(&self)

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected