Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/google/go-cmp
/ pop
Method
pop
cmp/path.go:74–76 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
72
}
73
74
func
(pa *Path) pop() {
75
*pa = (*pa)[:len(*pa)-1]
76
}
77
78
// Last returns the last [PathStep] in the Path.
79
// If the path is empty, this returns a non-nil [PathStep]
Callers
1
compareAny
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected