MCPcopy 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
38func Clear() {
39 lock.Lock()
40 defer lock.Unlock()
41
42 badCommands = map[string]map[string]int{}
43}

Callers 4

BadCommandsFunction · 0.92
TestTrackBadCommandFunction · 0.70
TestGetBadCommandsFunction · 0.70
TestClearFunction · 0.70

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by 3

TestTrackBadCommandFunction · 0.56
TestGetBadCommandsFunction · 0.56
TestClearFunction · 0.56