MCPcopy Index your code
hub / github.com/bufbuild/buf / testTargetFilePaths

Function testTargetFilePaths

private/bufpkg/bufmodule/bufmodule_test.go:688–697  ·  view source on GitHub ↗
(t *testing.T, module bufmodule.Module, expectedFilePaths ...string)

Source from the content-addressed store, hash-verified

686}
687
688func testTargetFilePaths(t *testing.T, module bufmodule.Module, expectedFilePaths ...string) {
689 ctx := t.Context()
690 fileInfos, err := bufmodule.GetTargetFileInfos(ctx, module)
691 require.NoError(t, err)
692 require.Equal(
693 t,
694 expectedFilePaths,
695 bufmodule.FileInfoPaths(fileInfos),
696 )
697}

Callers 2

TestBasicFunction · 0.85
TestProtoFileTargetPathFunction · 0.85

Calls 2

GetTargetFileInfosFunction · 0.92
FileInfoPathsFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…