MCPcopy Create free account
hub / github.com/docker/cli / filenames

Method filenames

cli/command/image/build_test.go:207–216  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

205}
206
207func (f *fakeBuild) filenames(t *testing.T) []string {
208 t.Helper()
209 h := f.headers(t)
210 names := make([]string, 0, len(h))
211 for _, header := range h {
212 names = append(names, header.Name)
213 }
214 sort.Strings(names)
215 return names
216}

Calls 1

headersMethod · 0.95

Tested by

no test coverage detected