MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / Clear

Method Clear

internal/observedtools/store.go:107–111  ·  view source on GitHub ↗

Clear removes all observed tools.

()

Source from the content-addressed store, hash-verified

105
106// Clear removes all observed tools.
107func (s *Store) Clear() {
108 s.mu.Lock()
109 defer s.mu.Unlock()
110 s.tools = make(map[string]ObservedTool)
111}
112
113// global singleton
114var (

Callers 2

TestClearFunction · 0.95
DeleteObservedToolsMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestClearFunction · 0.76