Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/uber-go/goleak
/ newScanner
Function
newScanner
internal/stack/scan.go:37–39 ·
view source on GitHub ↗
(r io.Reader)
Source
from the content-addressed store, hash-verified
35
}
36
37
func
newScanner(r io.Reader) *scanner {
38
return
&scanner{Scanner: bufio.NewScanner(r)}
39
}
40
41
func
(s *scanner) Scan() bool {
42
if
s.unscanned {
Callers
2
TestScanner
Function · 0.85
newStackParser
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestScanner
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…