MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / toStringPtr

Function toStringPtr

app/controlplane/pkg/data/data.go:158–163  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

156}
157
158func toStringPtr(s string) *string {
159 if s == "" {
160 return nil
161 }
162 return &s
163}
164
165func orgScopedQuery(client *ent.Client, orgID uuid.UUID) *ent.OrganizationQuery {
166 return client.Organization.Query().Where(organization.ID(orgID), organization.DeletedAtIsNil())

Callers 1

entCASBackendToBizFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected