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

Function newModuleDep

private/bufpkg/bufmodule/module_dep.go:57–67  ·  view source on GitHub ↗
(
	module Module,
	parent Module,
	isDirect bool,
)

Source from the content-addressed store, hash-verified

55}
56
57func newModuleDep(
58 module Module,
59 parent Module,
60 isDirect bool,
61) *moduleDep {
62 return &moduleDep{
63 Module: module,
64 parent: parent,
65 isDirect: isDirect,
66 }
67}
68
69func (m *moduleDep) Parent() Module {
70 return m.parent

Callers 1

getModuleDepsRecFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…