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

Method Modules

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

Modules returns the Modules in the ModuleSet. This will consist of both targets and non-targets. All dependencies of all Modules will be in this list, that is this list is self-contained. All Modules will have unique Digests and CommitIDs. These will be sorted by OpaqueID.

()

Source from the content-addressed store, hash-verified

45 //
46 // These will be sorted by OpaqueID.
47 Modules() []Module
48
49 // GetModuleForFullName gets the Module for the FullName, if it exists.
50 //

Callers 15

ModuleSetTargetModulesFunction · 0.65
ModuleSetLocalModulesFunction · 0.65
ModuleSetRemoteModulesFunction · 0.65
ModuleSetOpaqueIDsFunction · 0.65
RemoteDepsForModuleSetFunction · 0.65
runFunction · 0.65
ModuleSetDebugStringFunction · 0.65
testGetRootOpaqueIDFunction · 0.65

Implementers 1

moduleSetprivate/bufpkg/bufmodule/module_set.go

Calls

no outgoing calls

Tested by 4

testGetRootOpaqueIDFunction · 0.52
TestDuplicatePathFunction · 0.52