Returns `true` if this hook type represents a turn boundary. Turn boundaries are the events that trigger filesystem snapshots and change recording.
(&self)
| 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 { |
nothing calls this directly
no outgoing calls
no test coverage detected