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

Method ModuleDeps

private/bufpkg/bufmodule/module.go:128–128  ·  view source on GitHub ↗

ModuleDeps returns the dependencies for this specific Module. Includes transitive dependencies. Use ModuleDep.IsDirect() to determine if a dependency is direct or transitive. This list is pruned - only Modules that this Module actually depends on (either directly or transitively) via import statem

()

Source from the content-addressed store, hash-verified

126 //
127 // Sorted by OpaqueID.
128 ModuleDeps() ([]ModuleDep, error)
129
130 // IsTarget returns true if the Module is a targeted Module.
131 //

Callers 12

RemoteDepsForModulesFunction · 0.65
TestBasicFunction · 0.65
TestModuleCycleErrorFunction · 0.65
ModuleDirectModuleDepsFunction · 0.65
UploadMethod · 0.65
printModuleFunction · 0.65

Implementers 1

moduleprivate/bufpkg/bufmodule/module.go

Calls

no outgoing calls

Tested by 4

TestBasicFunction · 0.52
TestModuleCycleErrorFunction · 0.52