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

Function UploadWithSourceControlURL

private/bufpkg/bufmodule/uploader.go:75–79  ·  view source on GitHub ↗

UploadWithSourceControlURL returns a new UploadOption that will set the source control url for the module contents uploaded.

(sourceControlURL string)

Source from the content-addressed store, hash-verified

73// UploadWithSourceControlURL returns a new UploadOption that will set the source control
74// url for the module contents uploaded.
75func UploadWithSourceControlURL(sourceControlURL string) UploadOption {
76 return func(uploadOptions *uploadOptions) {
77 uploadOptions.sourceControlURL = sourceControlURL
78 }
79}
80
81// UploadWithExcludeUnnamed returns a new UploadOption that will exclude unnamed modules.
82func UploadWithExcludeUnnamed() UploadOption {

Callers 2

runFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…