MCPcopy
hub / github.com/sqlc-dev/sqlc / NewUploader

Function NewUploader

internal/bundler/upload.go:47–53  ·  view source on GitHub ↗
(configPath, dir string, conf *config.Config)

Source from the content-addressed store, hash-verified

45}
46
47func NewUploader(configPath, dir string, conf *config.Config) *Uploader {
48 return &Uploader{
49 configPath: configPath,
50 config: conf,
51 dir: dir,
52 }
53}
54
55func (up *Uploader) Validate() error {
56 if up.config.Cloud.Project == "" {

Callers 1

PushFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected