MCPcopy
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
74func (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

compareAnyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected