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

Method allows_repeated_vertices

graphlite/src/ast/ast.rs:290–292  ·  view source on GitHub ↗

Check if this path type allows repeated vertices

(&self)

Source from the content-addressed store, hash-verified

288impl PathType {
289 /// Check if this path type allows repeated vertices
290 pub fn allows_repeated_vertices(&self) -> bool {
291 matches!(self, PathType::Walk | PathType::Trail)
292 }
293
294 /// Check if this path type allows repeated edges
295 pub fn allows_repeated_edges(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected