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

Method to_resource_registry

document/graph-storage/src/to_runtime.rs:80–94  ·  view source on GitHub ↗

Rebuild the runtime [`ResourceRegistry`](graphene_resource::ResourceRegistry) from the stored `resources`. Each entry's source chain is restored in priority order (the chain is kept sorted by key) with bodies decoded from their type-erased `serde_json::Value` form back to `DataSource`; the resolved hash, if any, is restored last. Inverse of `convert_resources` in `from_runtime`.

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 3

push_source_backMethod · 0.80
cloneMethod · 0.45
resolveMethod · 0.45