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

Function Path_NodeCount

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

Source from the content-addressed store, hash-verified

54}
55
56size_t Path_NodeCount(const Path *p) {
57 return array_len(p->nodes);
58}
59
60size_t Path_EdgeCount(const Path *p) {
61 return array_len(p->edges);

Callers 12

_CollectDeletedEntitiesFunction · 0.85
SPpaths_nextFunction · 0.85
SSpaths_nextFunction · 0.85
_AllPathsCtx_NextPathFunction · 0.85
Path_GetNodeFunction · 0.85
Path_ContainsNodeFunction · 0.85
SIPathBuilder_AppendEdgeFunction · 0.85
SIPath_NodesFunction · 0.85
SIPath_NodeCountFunction · 0.85
pathArrayContainsPathFunction · 0.85
test_pathFunction · 0.85

Calls 1

array_lenFunction · 0.85

Tested by 3

pathArrayContainsPathFunction · 0.68
test_pathFunction · 0.68