Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
63
func
(this *Manager) Add(list *List) {
64
this.locker.Lock()
65
this.listMap[list] = zero.New()
66
this.locker.Unlock()
67
}
68
69
func
(this *Manager) Remove(list *List) {
70
this.locker.Lock()
Callers
nothing calls this directly
Calls
3
New
Function · 0.92
Lock
Method · 0.45
Unlock
Method · 0.45
Tested by
no test coverage detected