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

Function newModuleRef

private/buf/buffetch/module_ref.go:27–31  ·  view source on GitHub ↗
(iModuleRef internal.ModuleRef)

Source from the content-addressed store, hash-verified

25}
26
27func newModuleRef(iModuleRef internal.ModuleRef) *moduleRef {
28 return &moduleRef{
29 iModuleRef: iModuleRef,
30 }
31}
32
33func (r *moduleRef) internalRef() internal.Ref {
34 return r.iModuleRef

Callers 6

GetRefMethod · 0.70
GetRefForInputConfigMethod · 0.70
GetSourceOrModuleRefMethod · 0.70
GetModuleRefMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…