Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
64
Node Path_Head(Path *p) {
65
return p->nodes[array_len(p->nodes) - 1];
66
}
67
68
size_t Path_Len(const Path *p) {
69
return Path_EdgeCount(p);
Callers
4
CondVarLenTraverseConsume
Function · 0.85
SPpaths_next
Function · 0.85
_AllPathsCtx_NextPath
Function · 0.85
test_path
Function · 0.85
Calls
1
array_len
Function · 0.85
Tested by
1
test_path
Function · 0.68