Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ mustReadDir
Function
mustReadDir
internal/zip/zip_test.go:110–115 ·
view source on GitHub ↗
(t *testing.T, path string)
Source
from the content-addressed store, hash-verified
108
}
109
110
func
mustReadDir(t *testing.T, path string) []os.DirEntry {
111
t.Helper()
112
entries, err := os.ReadDir(path)
113
require.NoError(t, err)
114
return
entries
115
}
Callers
1
Test_extractZip
Function · 0.85
Calls
1
Helper
Method · 0.65
Tested by
no test coverage detected