Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cli/cli
/ matchFileInZIPArchive
Function
matchFileInZIPArchive
pkg/cmd/run/view/logs.go:346–353 ·
view source on GitHub ↗
(zr *zip.Reader, re *regexp.Regexp)
Source
from the content-addressed store, hash-verified
344
}
345
346
func
matchFileInZIPArchive(zr *zip.Reader, re *regexp.Regexp) *zip.File {
347
for
_, file :=
range
zr.File {
348
if
re.MatchString(file.Name) {
349
return
file
350
}
351
}
352
return
nil
353
}
Callers
1
getZipLogMap
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected