MCPcopy Index your code
hub / github.com/GraphiteEditor/Graphite / append_and_retire

Method append_and_retire

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

Persist freshly-staged hot ops and immediately retire them into durable history. Appends each hot frame (so a crash before retirement still recovers the work), then retires up to the last staged timestamp, which drains exactly these ops and re-snapshots the registry. Returns the retired `Rev`s. A no-op when nothing was staged.

(&mut self, hot_ops: &[HotOp], interaction_end: bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

add_resourceMethod · 0.80

Calls 2

append_hot_frameMethod · 0.80
retire_innerMethod · 0.80

Tested by

no test coverage detected