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

Method Remove

internal/utils/expires/list.go:76–80  ·  view source on GitHub ↗
(itemId uint64)

Source from the content-addressed store, hash-verified

74}
75
76func (this *List) Remove(itemId uint64) {
77 this.mu.Lock()
78 defer this.mu.Unlock()
79 this.removeItem(itemId)
80}
81
82func (this *List) ExpiresAt(itemId uint64) int64 {
83 this.mu.RLock()

Callers

nothing calls this directly

Calls 3

removeItemMethod · 0.95
LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected