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

Method output_count

node-graph/graph-craft/src/document.rs:367–372  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

365 }
366
367 pub fn output_count(&self) -> usize {
368 match self {
369 DocumentNodeImplementation::Network(network) => network.exports.len(),
370 _ => 1,
371 }
372 }
373}
374
375// TODO: Eventually remove this document upgrade code

Callers 1

generate_node_pathsMethod · 0.80

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected