MCPcopy Create free account
hub / github.com/bufbuild/buf / testGetImageFilePaths

Function testGetImageFilePaths

private/bufpkg/bufimage/build_image_test.go:406–413  ·  view source on GitHub ↗
(image bufimage.Image)

Source from the content-addressed store, hash-verified

404}
405
406func testGetImageFilePaths(image bufimage.Image) []string {
407 var fileNames []string
408 for _, file := range image.Files() {
409 fileNames = append(fileNames, file.Path())
410 }
411 sort.Strings(fileNames)
412 return fileNames
413}
414
415func testGetImageImportPaths(image bufimage.Image) []string {
416 var importNames []string

Callers 2

TestGoogleapisFunction · 0.85
TestModuleTargetFilesFunction · 0.85

Calls 2

FilesMethod · 0.65
PathMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…