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

Function newSourceRef

private/buf/buffetch/source_ref.go:27–31  ·  view source on GitHub ↗
(bucketRef internal.BucketRef)

Source from the content-addressed store, hash-verified

25}
26
27func newSourceRef(bucketRef internal.BucketRef) *sourceRef {
28 return &sourceRef{
29 bucketRef: bucketRef,
30 }
31}
32
33func (r *sourceRef) internalRef() internal.Ref {
34 return r.bucketRef

Callers 6

GetRefMethod · 0.85
GetRefForInputConfigMethod · 0.85
GetSourceOrModuleRefMethod · 0.85
GetSourceRefMethod · 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…