Skip to main content

changes_for

Function changes_for 

Source
pub fn changes_for(history: &[CommandRecord]) -> Vec<ChangeBurst>
Expand description

Groups the agent-origin runs of a command log.

A run is consecutive records whose origin is xtalforge_commands::Origin::Agent; a user or script edit between two agent edits starts a new burst. The log only holds entries that were not trimmed from the undo stack.