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

Function testNewBucketForPathToData

private/bufpkg/bufmodule/bufmodule_test.go:661–665  ·  view source on GitHub ↗
(t *testing.T, pathToData map[string][]byte)

Source from the content-addressed store, hash-verified

659}
660
661func testNewBucketForPathToData(t *testing.T, pathToData map[string][]byte) storage.ReadBucket {
662 bucket, err := storagemem.NewReadBucket(pathToData)
663 require.NoError(t, err)
664 return bucket
665}
666
667func testGetDepOpaqueIDToDirect(t *testing.T, module bufmodule.Module) map[string]bool {
668 moduleDeps, err := module.ModuleDeps()

Callers 3

TestBasicFunction · 0.85
TestProtoFileTargetPathFunction · 0.85

Calls 1

NewReadBucketFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…