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

Function cloneInt64Ptr

internal/discord/runtime.go:1457–1463  ·  view source on GitHub ↗
(value *int64)

Source from the content-addressed store, hash-verified

1455}
1456
1457func cloneInt64Ptr(value *int64) *int64 {
1458 if value == nil {
1459 return nil
1460 }
1461 cloned := *value
1462 return &cloned
1463}
1464
1465func equalInt64Ptr(left, right *int64) bool {
1466 switch {

Callers 2

setGuildTargetMethod · 0.70
cloneGuildConfigFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected