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

Function convertConnectionLogs

enterprise/coderd/connectionlog.go:92–99  ·  view source on GitHub ↗
(dblogs []database.GetConnectionLogsOffsetRow)

Source from the content-addressed store, hash-verified

90}
91
92func convertConnectionLogs(dblogs []database.GetConnectionLogsOffsetRow) []codersdk.ConnectionLog {
93 clogs := make([]codersdk.ConnectionLog, 0, len(dblogs))
94
95 for _, dblog := range dblogs {
96 clogs = append(clogs, convertConnectionLog(dblog))
97 }
98 return clogs
99}
100
101func convertConnectionLog(dblog database.GetConnectionLogsOffsetRow) codersdk.ConnectionLog {
102 var ip *netip.Addr

Callers 1

connectionLogsMethod · 0.85

Calls 1

convertConnectionLogFunction · 0.85

Tested by

no test coverage detected