(line []byte)
| 450 | } |
| 451 | |
| 452 | func 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 | // |
no outgoing calls
no test coverage detected
searching dependent graphs…