MCPcopy 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
110func 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_extractZipFunction · 0.85

Calls 1

HelperMethod · 0.65

Tested by

no test coverage detected