UploadWithSourceControlURL returns a new UploadOption that will set the source control url for the module contents uploaded.
(sourceControlURL string)
| 73 | // UploadWithSourceControlURL returns a new UploadOption that will set the source control |
| 74 | // url for the module contents uploaded. |
| 75 | func 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. |
| 82 | func UploadWithExcludeUnnamed() UploadOption { |
no outgoing calls
no test coverage detected
searching dependent graphs…