MCPcopy Index your code
hub / github.com/maruel/panicparse / equal

Method equal

stack/stack.go:479–481  ·  view source on GitHub ↗

equal returns true only if both calls are exactly equal.

(r *Call)

Source from the content-addressed store, hash-verified

477
478// equal returns true only if both calls are exactly equal.
479func (c *Call) equal(r *Call) bool {
480 return c.Line == r.Line && c.Func.Complete == r.Func.Complete && c.RemoteSrcPath == r.RemoteSrcPath && c.Args.equal(&r.Args)
481}
482
483// similar returns true if the two Call are equal or almost but not quite
484// equal.

Callers

nothing calls this directly

Calls 1

equalMethod · 0.45

Tested by

no test coverage detected