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

Method similar

stack/stack.go:485–487  ·  view source on GitHub ↗

similar returns true if the two Call are equal or almost but not quite equal.

(r *Call, similar Similarity)

Source from the content-addressed store, hash-verified

483// similar returns true if the two Call are equal or almost but not quite
484// equal.
485func (c *Call) similar(r *Call, similar Similarity) bool {
486 return c.Line == r.Line && c.Func.Complete == r.Func.Complete && c.RemoteSrcPath == r.RemoteSrcPath && c.Args.similar(&r.Args, similar)
487}
488
489// merge merges two similar Call, zapping out differences.
490func (c *Call) merge(r *Call) Call {

Callers

nothing calls this directly

Calls 1

similarMethod · 0.45

Tested by

no test coverage detected