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

Method replace_resource_inputs

node-graph/preprocessor/src/lib.rs:45–87  ·  view source on GitHub ↗

Replace every `TaggedValue::Resource(hash)` input with a reference to a freshly inserted `resource` proto node.

(&self, network: &mut NodeNetwork, resolve_resource: &dyn Fn(ResourceId) -> Option<ResourceHash>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

preprocessMethod · 0.80

Calls 5

nodeFunction · 0.85
ProtoNodeClass · 0.50
iter_mutMethod · 0.45
pushMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected