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

Method Delete

internal/iplibrary/ip_list.go:76–80  ·  view source on GitHub ↗
(itemId uint64)

Source from the content-addressed store, hash-verified

74}
75
76func (this *IPList) Delete(itemId uint64) {
77 this.mu.Lock()
78 this.deleteItem(itemId)
79 this.mu.Unlock()
80}
81
82// Contains 判断是否包含某个IP
83func (this *IPList) Contains(ipBytes []byte) bool {

Callers 1

processItemsMethod · 0.95

Calls 3

deleteItemMethod · 0.95
LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected