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

Method WithTargetOpaqueIDs

private/bufpkg/bufmodule/module_set.go:70–70  ·  view source on GitHub ↗

WithTargetOpaqueIDs returns a new ModuleSet that changes the targeted Modules to the Modules with the specified OpaqueIDs.

(opaqueIDs ...string)

Source from the content-addressed store, hash-verified

68 // WithTargetOpaqueIDs returns a new ModuleSet that changes the targeted Modules to
69 // the Modules with the specified OpaqueIDs.
70 WithTargetOpaqueIDs(opaqueIDs ...string) (ModuleSet, error)
71
72 // getModuleForFilePath gets the Module for the File path of a File within the ModuleSet.
73 //

Callers 3

TestModuleTargetFilesFunction · 0.95
testLintWithOptionsFunction · 0.65

Implementers 1

moduleSetprivate/bufpkg/bufmodule/module_set.go

Calls

no outgoing calls

Tested by 2

TestModuleTargetFilesFunction · 0.76
testLintWithOptionsFunction · 0.52