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

Function Path_EdgeCount

src/datatypes/path/path.c:60–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60size_t Path_EdgeCount(const Path *p) {
61 return array_len(p->edges);
62}
63
64Node Path_Head(Path *p) {
65 return p->nodes[array_len(p->nodes) - 1];

Callers 10

_CollectDeletedEntitiesFunction · 0.85
SPpaths_nextFunction · 0.85
SSpaths_nextFunction · 0.85
_AllPathsCtx_NextPathFunction · 0.85
Path_GetEdgeFunction · 0.85
Path_LenFunction · 0.85
SIPathBuilder_AppendEdgeFunction · 0.85
SIPath_RelationshipsFunction · 0.85
SIPath_EdgeCountFunction · 0.85
test_pathFunction · 0.85

Calls 1

array_lenFunction · 0.85

Tested by 1

test_pathFunction · 0.68