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

Method undo

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

Move the undo cursor back one commit (silent-zone reflog undo) and persist the new cursor. Returns the undone `Rev`. The working registry is rewound in place by the reverse delta, so re-snapshot it (alongside `head`) or a reopen would read a `registry.bin` inconsistent with the persisted cursor.

(&mut self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

persist_session_stateMethod · 0.80

Tested by

no test coverage detected