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

Method readLine

internal/binutils/addr2liner.go:72–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70}
71
72func (a *addr2LinerJob) readLine() (string, error) {
73 s, err := a.out.ReadString('\n')
74 if err != nil {
75 return "", err
76 }
77 return strings.TrimSpace(s), nil
78}
79
80// close releases any resources used by the addr2liner object.
81func (a *addr2LinerJob) close() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected