MCPcopy Create free account
hub / github.com/MMadmer/EpicAssetsNotifyBot / equalInt64Ptr

Function equalInt64Ptr

internal/discord/runtime.go:1465–1474  ·  view source on GitHub ↗
(left, right *int64)

Source from the content-addressed store, hash-verified

1463}
1464
1465func equalInt64Ptr(left, right *int64) bool {
1466 switch {
1467 case left == nil && right == nil:
1468 return true
1469 case left == nil || right == nil:
1470 return false
1471 default:
1472 return *left == *right
1473 }
1474}
1475
1476func assetIDSet(assets []model.Asset) map[string]struct{} {
1477 result := make(map[string]struct{}, len(assets))

Callers 2

handleSubscribeMethod · 0.85
setGuildTargetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected