MCPcopy Create free account
hub / github.com/google/pprof / readLine

Method readLine

internal/binutils/binutils_test.go:113–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111}
112
113func (a *mockAddr2liner) readLine() (string, error) {
114 if len(a.output) == 0 {
115 return "", fmt.Errorf("end of file")
116 }
117 next := a.output[0]
118 a.output = a.output[1:]
119 return next, nil
120}
121
122func (a *mockAddr2liner) close() {
123}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected