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

Method as_edge

graphlite/src/storage/value.rs:294–299  ·  view source on GitHub ↗

Extract as edge if possible

(&self)

Source from the content-addressed store, hash-verified

292
293 /// Extract as edge if possible
294 pub fn as_edge(&self) -> Option<&Edge> {
295 match self {
296 Value::Edge(e) => Some(e),
297 _ => None,
298 }
299 }
300
301 /// Extract as temporal value if possible
302 pub fn as_temporal(&self) -> Option<&TemporalValue> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected