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

Method from_elements

graphlite/src/storage/value.rs:118–120  ·  view source on GitHub ↗

Create a path from a list of elements

(elements: Vec<PathElement>)

Source from the content-addressed store, hash-verified

116
117 /// Create a path from a list of elements
118 pub fn from_elements(elements: Vec<PathElement>) -> Self {
119 Self { elements }
120 }
121
122 /// Add an element to the path
123 pub fn add_element(&mut self, element: PathElement) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected