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

Function NewSourceOrModuleRefParser

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

NewSourceOrModuleRefParser returns a new RefParser for sources or modules only. This defaults to dir or module.

(logger *slog.Logger)

Source from the content-addressed store, hash-verified

290//
291// This defaults to dir or module.
292func NewSourceOrModuleRefParser(logger *slog.Logger) SourceOrModuleRefParser {
293 return newSourceOrModuleRefParser(logger)
294}
295
296// BucketExtender matches the internal type.
297type BucketExtender internal.BucketExtender

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…