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

Function ExistDeletedIPList

internal/waf/ip_lists_deleted.go:25–30  ·  view source on GitHub ↗

ExistDeletedIPList check if ip list has been deleted

(ipListId int64)

Source from the content-addressed store, hash-verified

23
24// ExistDeletedIPList check if ip list has been deleted
25func ExistDeletedIPList(ipListId int64) bool {
26 deletedIPListLocker.RLock()
27 _, ok := deletedIPListIdMap[ipListId]
28 deletedIPListLocker.RUnlock()
29 return ok
30}

Callers 1

PerformMethod · 0.85

Calls 2

RLockMethod · 0.80
RUnlockMethod · 0.80

Tested by

no test coverage detected