MCPcopy Index your code
hub / github.com/sqlc-dev/sqlc / annotate

Function annotate

internal/bundler/upload.go:80–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78}
79
80func annotate() map[string]string {
81 labels := map[string]string{}
82 for _, ev := range envvars {
83 key := strings.ReplaceAll(strings.ToLower(ev), "_", ".")
84 labels[key] = os.Getenv(ev)
85 }
86 return labels
87}
88
89func BuildRequest(ctx context.Context, dir, configPath string, results []*QuerySetArchive, tags []string) (*pb.UploadArchiveRequest, error) {
90 conf, err := readFile(dir, configPath)

Callers 1

BuildRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…