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

Function isFramesElidedLine

stack/context.go:452–462  ·  view source on GitHub ↗
(line []byte)

Source from the content-addressed store, hash-verified

450}
451
452func isFramesElidedLine(line []byte) bool {
453 // before go1.21:
454 // ...additional frames elided...
455 //
456 // go1.21 and newer:
457 // print("...", elide, " frames elided...\n")
458 framesElided := []byte("...additional frames elided...")
459 return bytes.Equal(line, framesElided) ||
460 bytes.HasPrefix(line, []byte("...")) &&
461 bytes.HasSuffix(line, []byte(" frames elided..."))
462}
463
464// scan scans one line, updates goroutines and move to the next state.
465//

Callers 1

scanMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…