Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RedisGraph/redisgraph-go
/ LastNode
Method
LastNode
path.go:49–51 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
}
48
49
func
(p Path) LastNode() *Node {
50
return
p.GetNode(p.NodesCount() - 1)
51
}
52
53
func
(p Path) NodesCount() int {
54
return
len(p.Nodes)
Callers
1
TestPath
Function · 0.80
Calls
2
GetNode
Method · 0.95
NodesCount
Method · 0.95
Tested by
1
TestPath
Function · 0.64