Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoMudEngine/GoMud
/ Clear
Function
Clear
internal/badinputtracker/badinputtracker.go:38–43 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
36
}
37
38
func
Clear() {
39
lock.Lock()
40
defer
lock.Unlock()
41
42
badCommands =
map
[string]
map
[string]int{}
43
}
Callers
4
BadCommands
Function · 0.92
TestTrackBadCommand
Function · 0.70
TestGetBadCommands
Function · 0.70
TestClear
Function · 0.70
Calls
2
Lock
Method · 0.80
Unlock
Method · 0.80
Tested by
3
TestTrackBadCommand
Function · 0.56
TestGetBadCommands
Function · 0.56
TestClear
Function · 0.56