MCPcopy Index your code
hub / github.com/coder/coder / nullTimePtr

Function nullTimePtr

coderd/database/db2sdk/db2sdk.go:1693–1699  ·  view source on GitHub ↗
(v sql.NullTime)

Source from the content-addressed store, hash-verified

1691}
1692
1693func nullTimePtr(v sql.NullTime) *time.Time {
1694 if !v.Valid {
1695 return nil
1696 }
1697 value := v.Time
1698 return &value
1699}
1700
1701const fallbackChatLastErrorMessage = "The chat request failed unexpectedly."
1702

Callers 3

ChatDebugRunSummaryFunction · 0.85
ChatDebugStepFunction · 0.85
ChatDebugRunDetailFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected