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

Function Path_Head

src/datatypes/path/path.c:64–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64Node Path_Head(Path *p) {
65 return p->nodes[array_len(p->nodes) - 1];
66}
67
68size_t Path_Len(const Path *p) {
69 return Path_EdgeCount(p);

Callers 4

SPpaths_nextFunction · 0.85
_AllPathsCtx_NextPathFunction · 0.85
test_pathFunction · 0.85

Calls 1

array_lenFunction · 0.85

Tested by 1

test_pathFunction · 0.68