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

Function safeStr

admin/server/projects.go:2404–2409  ·  view source on GitHub ↗
(s *string)

Source from the content-addressed store, hash-verified

2402}
2403
2404func safeStr(s *string) string {
2405 if s == nil {
2406 return ""
2407 }
2408 return *s
2409}
2410
2411func safeInt64(s *int64) int64 {
2412 if s == nil {

Callers 7

orgInviteToPBFunction · 0.85
projInviteToPBFunction · 0.85
magicAuthTokenToPBMethod · 0.85
UpdateProjectMethod · 0.85
projToDTOMethod · 0.85
deploymentToDTOFunction · 0.85
projectVariableToDTOFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected