Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PatchMon/PatchMon
/ pgInt32ToInt
Function
pgInt32ToInt
server-source-code/internal/store/convert.go:512–518 ·
view source on GitHub ↗
(p *int32)
Source
from the content-addressed store, hash-verified
510
}
511
512
func
pgInt32ToInt(p *int32) *int {
513
if
p == nil {
514
return
nil
515
}
516
i := int(*p)
517
return
&i
518
}
519
520
func
dbHostGroupToModel(r db.GetHostGroupsForHostsRow) models.HostGroup {
521
return
models.HostGroup{
Callers
1
dbHostToModel
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected