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

Method Add

internal/utils/expires/manager.go:63–67  ·  view source on GitHub ↗
(list *List)

Source from the content-addressed store, hash-verified

61}
62
63func (this *Manager) Add(list *List) {
64 this.locker.Lock()
65 this.listMap[list] = zero.New()
66 this.locker.Unlock()
67}
68
69func (this *Manager) Remove(list *List) {
70 this.locker.Lock()

Callers

nothing calls this directly

Calls 3

NewFunction · 0.92
LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected