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

Method store_legacy_document

document/document-format/src/lib.rs:335–337  ·  view source on GitHub ↗

Store the legacy `.graphite` document bytes verbatim inside the working copy (dual-write soak). Synchronous (hot-path safe via `write_non_blocking`): called at the autosave boundary alongside the registry snapshot. The bytes are opaque to `Gdd` — it never deserializes them. TODO: Add feature gate for legacy embedding

(&self, bytes: &[u8])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

stage_snapshotMethod · 0.80

Calls 2

legacy_pathMethod · 0.80
write_non_blockingMethod · 0.45

Tested by

no test coverage detected