MCPcopy Index your code
hub / github.com/rilldata/rill / resourcesString

Function resourcesString

admin/server/projects.go:2396–2402  ·  view source on GitHub ↗
(res []*adminv1.ResourceName)

Source from the content-addressed store, hash-verified

2394}
2395
2396func resourcesString(res []*adminv1.ResourceName) []string {
2397 var resources []string
2398 for _, r := range res {
2399 resources = append(resources, fmt.Sprintf("%s:%s", r.Type, r.Name))
2400 }
2401 return resources
2402}
2403
2404func safeStr(s *string) string {
2405 if s == nil {

Calls

no outgoing calls

Tested by

no test coverage detected