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

Function SIPath_GetRelationship

src/datatypes/path/sipath.c:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52SIValue SIPath_GetRelationship(SIValue p, size_t i) {
53 ASSERT(i < SIPath_Length(p));
54 Path *path = (Path *) p.ptrval;
55 return SI_Edge(Path_GetEdge(path, i));
56}
57
58SIValue SIPath_Nodes(SIValue p) {
59 Path *path = (Path *) p.ptrval;

Callers 6

_JsonEncoder_PathFunction · 0.85
SIPathBuilder_AppendPathFunction · 0.85
SIPath_ToListFunction · 0.85
SIPath_HashCodeFunction · 0.85
SIPath_ToStringFunction · 0.85
SIPath_CompareFunction · 0.85

Calls 3

SIPath_LengthFunction · 0.85
SI_EdgeFunction · 0.85
Path_GetEdgeFunction · 0.85

Tested by

no test coverage detected