MCPcopy
hub / github.com/uber-go/goleak / newStackParser

Function newStackParser

internal/stack/stacks.go:101–105  ·  view source on GitHub ↗
(r io.Reader)

Source from the content-addressed store, hash-verified

99}
100
101func newStackParser(r io.Reader) *stackParser {
102 return &stackParser{
103 scan: newScanner(r),
104 }
105}
106
107func (p *stackParser) Parse() ([]Stack, error) {
108 for p.scan.Scan() {

Callers 4

TestParseStackFunction · 0.85
TestParseStackErrorsFunction · 0.85
TestParseStackFixturesFunction · 0.85
getStacksFunction · 0.85

Calls 1

newScannerFunction · 0.85

Tested by 3

TestParseStackFunction · 0.68
TestParseStackErrorsFunction · 0.68
TestParseStackFixturesFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…