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

Method is_turn_boundary

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

Returns `true` if this hook type represents a turn boundary. Turn boundaries are the events that trigger filesystem snapshots and change recording.

(&self)

Source from the content-addressed store, hash-verified

114 /// Turn boundaries are the events that trigger filesystem snapshots
115 /// and change recording.
116 pub fn is_turn_boundary(&self) -> bool {
117 matches!(self, HookType::TurnStart | HookType::TurnEnd)
118 }
119
120 /// Returns `true` if this hook type represents a session boundary.
121 pub fn is_session_boundary(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected