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

Method Bucket

private/bufpkg/bufmodule/module_data.go:42–42  ·  view source on GitHub ↗

Bucket returns a Bucket of the Module's files. This bucket is not self-contained - it requires the files from dependencies to be so. This bucket will only contain module files - it will be filtered via NewModuleData.

()

Source from the content-addressed store, hash-verified

40 //
41 // This bucket will only contain module files - it will be filtered via NewModuleData.
42 Bucket() (storage.ReadBucket, error)
43 // DepModuleKeys returns the dependencies for this specific Module.
44 //
45 // The dependencies are the same as that would appear in the v1 buf.lock file.

Callers 3

ToModuleMethod · 0.65
putModuleDataMethod · 0.65

Implementers 1

moduleDataprivate/bufpkg/bufmodule/module_data.g

Calls

no outgoing calls

Tested by 1