MCPcopy Create free account
hub / github.com/imroc/req / Stack

Method Stack

internal/bisect/bisect.go:432–437  ·  view source on GitHub ↗

MatchStack assigns the current call stack a change ID. If the stack should be printed, MatchStack prints it. Then MatchStack reports whether a change at the current call stack should be enabled.

(w Writer)

Source from the content-addressed store, hash-verified

430// If the stack should be printed, MatchStack prints it.
431// Then MatchStack reports whether a change at the current call stack should be enabled.
432func (m *Matcher) Stack(w Writer) bool {
433 if m == nil {
434 return true
435 }
436 return m.stack(w)
437}
438
439// stack does the real work for Stack.
440// This lets stack's body handle m == nil and potentially be inlined.

Callers 2

curGoroutineIDFunction · 0.80
ValueMethod · 0.80

Calls 1

stackMethod · 0.95

Tested by

no test coverage detected