MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / IsZero

Function IsZero

internal/iplibrary/list_utils.go:89–91  ·  view source on GitHub ↗
(ipBytes []byte)

Source from the content-addressed store, hash-verified

87}
88
89func IsZero(ipBytes []byte) bool {
90 return len(ipBytes) == 0
91}
92
93func ToHex(b []byte) string {
94 if len(b) == 0 {

Callers 6

containsIPMethod · 0.85
AddDelayMethod · 0.85
addItemMethod · 0.85
deleteItemMethod · 0.85
AllowIPFunction · 0.85
IsInWhiteListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected