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

Function SIPath_GetNode

src/datatypes/path/sipath.c:68–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68SIValue SIPath_GetNode(SIValue p, size_t i) {
69 ASSERT(i < SIPath_NodeCount(p));
70 Path *path = (Path *) p.ptrval;
71 return SI_Node(Path_GetNode(path, i));
72}
73
74SIValue SIPath_Head(SIValue p) {
75 return SIPath_GetNode(p, 0);

Callers 8

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

Calls 3

SIPath_NodeCountFunction · 0.85
SI_NodeFunction · 0.85
Path_GetNodeFunction · 0.85

Tested by

no test coverage detected