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

Function SIPath_Last

src/datatypes/path/sipath.c:78–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78SIValue SIPath_Last(SIValue p) {
79 return(SIPath_GetNode(p, SIPath_NodeCount(p) - 1));
80}
81
82size_t SIPath_Length(SIValue p) {
83 Path *path = (Path *) p.ptrval;

Callers 1

SIPathBuilder_AppendPathFunction · 0.85

Calls 2

SIPath_GetNodeFunction · 0.85
SIPath_NodeCountFunction · 0.85

Tested by

no test coverage detected