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

Method declarations

document/graph-storage/src/from_runtime.rs:108–116  ·  view source on GitHub ↗

Rebuild the [`Declarations`](crate::Declarations) map (`ResourceId` → [`ProtoNode`]) from the extracted bytes, for callers that keep the bytes in hand instead of routing them through a byte store (tests, the round-trip CLI). Editor/`Gdd` paths persist the bytes and resolve via their byte store instead.

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

to_registryFunction · 0.45

Calls 2

decode_declarationFunction · 0.85
iterMethod · 0.45

Tested by 2

to_registryFunction · 0.36