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

Method persist_registry_snapshot

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

Re-snapshot the materialized working registry to `registry.bin`. `Session::load` trusts the stored registry to match the persisted `head`, so any cursor move (undo/redo) that rewinds the working registry without retiring must re-persist it or a reopen would read a registry inconsistent with `head`. Synchronous and hot-path-safe (`write_non_blocking`).

(&mut self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

undoMethod · 0.80
redoMethod · 0.80
retire_innerMethod · 0.80

Calls 3

write_singleFunction · 0.85
registry_basenameMethod · 0.80
registryMethod · 0.45

Tested by

no test coverage detected