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

Method display_name

document/graph-storage/src/tests/round_trip.rs:424–426  ·  view source on GitHub ↗
(&self, network_path: &[NodeId], local_id: NodeId)

Source from the content-addressed store, hash-verified

422 self.get(network_path, local_id).is_some_and(|s| s.is_layer)
423 }
424 fn display_name(&self, network_path: &[NodeId], local_id: NodeId) -> Option<&str> {
425 self.get(network_path, local_id).and_then(|s| s.display_name.as_deref())
426 }
427 fn locked(&self, network_path: &[NodeId], local_id: NodeId) -> bool {
428 self.get(network_path, local_id).is_some_and(|s| s.locked)
429 }

Callers 1

write_ui_attributesFunction · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected