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

Function toTimePtr

app/controlplane/pkg/data/data.go:150–156  ·  view source on GitHub ↗
(t time.Time)

Source from the content-addressed store, hash-verified

148}
149
150func toTimePtr(t time.Time) *time.Time {
151 if t.IsZero() {
152 return nil
153 }
154
155 return &t
156}
157
158func toStringPtr(s string) *string {
159 if s == "" {

Callers 15

entWFToBizWFFunction · 0.70
entRaToBizRaFunction · 0.70
entInviteToBizFunction · 0.70
TestEntCASBackendToBizFunction · 0.70
entProjectVersionToBizFunction · 0.70
entAPITokenToBizFunction · 0.70
ListProjectsByGroupMethod · 0.70
entGroupToBizFunction · 0.70
entGroupMembershipToBizFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestEntCASBackendToBizFunction · 0.56