Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/google/codesearch
/ File
Method
File
regexp/match.go:374–382 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
372
}
373
374
func
(g *Grep) File(name string) {
375
f, err := os.Open(name)
376
if
err != nil {
377
fmt.Fprintf(g.Stderr,
"%s\n"
, err)
378
return
379
}
380
defer
f.Close()
381
g.Reader(f, name)
382
}
383
384
var
nl = []byte{
'\n'
}
385
Callers
2
main
Function · 0.95
Main
Function · 0.95
Calls
1
Reader
Method · 0.95
Tested by
no test coverage detected