MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / retire_pending_interaction

Method retire_pending_interaction

document/document-format/src/persist.rs:83–88  ·  view source on GitHub ↗

Retire every pending hot op into durable history as a single interaction (marking the batch's last delta as the interaction boundary), then re-snapshot the registry. One interaction is one undo unit, so the caller invokes this at each undo-step boundary and before any undo/redo. A no-op when there are no pending hot ops.

(&mut self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

commit_from_runtimeMethod · 0.80

Calls 4

hot_logMethod · 0.80
retire_innerMethod · 0.80
maxMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected