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

Method GetSourceOrModuleRef

private/buf/buffetch/buffetch.go:221–221  ·  view source on GitHub ↗

GetSourceOrModuleRef gets the reference for the message file or source bucket.

(ctx context.Context, value string)

Source from the content-addressed store, hash-verified

219
220 // GetSourceOrModuleRef gets the reference for the message file or source bucket.
221 GetSourceOrModuleRef(ctx context.Context, value string) (SourceOrModuleRef, error)
222 // GetSourceOrModuleRefForInputConfig gets the reference for the message file or source bucket.
223 GetSourceOrModuleRefForInputConfig(
224 ctx context.Context,

Callers 1

GetWorkspaceMethod · 0.65

Implementers 1

refParserprivate/buf/buffetch/ref_parser.go

Calls

no outgoing calls

Tested by

no test coverage detected