MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / data

Method data

graphlite/src/catalog/operations.rs:346–351  ·  view source on GitHub ↗

Extract data from a successful response

(&self)

Source from the content-addressed store, hash-verified

344
345 /// Extract data from a successful response
346 pub fn data(&self) -> Option<&Value> {
347 match self {
348 Self::Success { data } => data.as_ref(),
349 _ => None,
350 }
351 }
352
353 /// Extract error message from an error response
354 pub fn error_message(&self) -> Option<&str> {

Callers 12

get_graph_typeMethod · 0.80
get_graph_typeMethod · 0.80
get_graph_typeMethod · 0.80
list_graph_typesMethod · 0.80
describe_graph_typeMethod · 0.80
list_node_typesMethod · 0.80
list_edge_typesMethod · 0.80
describe_node_typeMethod · 0.80
describe_edge_typeMethod · 0.80
get_version_historyMethod · 0.80
get_schema_statisticsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected