Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
150
func
toTimePtr(t time.Time) *time.Time {
151
if
t.IsZero() {
152
return
nil
153
}
154
155
return
&t
156
}
157
158
func
toStringPtr(s string) *string {
159
if
s ==
""
{
Callers
15
entWFToBizWF
Function · 0.70
entIntegrationAndAttachmentToBiz
Function · 0.70
entRaToBizRa
Function · 0.70
entInviteToBiz
Function · 0.70
TestEntCASBackendToBiz
Function · 0.70
entContractVersionToBizContractVersion
Function · 0.70
entContractToBizContract
Method · 0.70
entProjectVersionToBiz
Function · 0.70
entAPITokenToBiz
Function · 0.70
ListProjectsByGroup
Method · 0.70
entGroupToBiz
Function · 0.70
entGroupMembershipToBiz
Function · 0.70
Calls
no outgoing calls
Tested by
1
TestEntCASBackendToBiz
Function · 0.56