Stack is a call stack.
| 504 | |
| 505 | // Stack is a call stack. |
| 506 | type Stack struct { |
| 507 | // Calls is the call stack. First is original function, last is leaf |
| 508 | // function. |
| 509 | Calls []Call |
| 510 | // Elided is set when there's >100 items in Stack, currently hardcoded in |
| 511 | // package runtime. |
| 512 | Elided bool |
| 513 | |
| 514 | // Disallow initialization with unnamed parameters. |
| 515 | _ struct{} |
| 516 | } |
| 517 | |
| 518 | // equal returns true on if both call stacks are exactly equal. |
| 519 | func (s *Stack) equal(r *Stack) bool { |
nothing calls this directly
no outgoing calls
no test coverage detected