MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / Path_GetNode

Function Path_GetNode

src/datatypes/path/path.c:39–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39Node *Path_GetNode(const Path *p, int index) {
40 ASSERT(index >= 0 && index < Path_NodeCount(p));
41 return &p->nodes[index];
42}
43
44Edge *Path_GetEdge(const Path *p, int index) {
45 ASSERT(index >= 0 && index < Path_EdgeCount(p));

Callers 5

_CollectDeletedEntitiesFunction · 0.85
SIPathBuilder_AppendEdgeFunction · 0.85
SIPath_NodesFunction · 0.85
SIPath_GetNodeFunction · 0.85
test_pathFunction · 0.85

Calls 1

Path_NodeCountFunction · 0.85

Tested by 1

test_pathFunction · 0.68