MCPcopy Create free account
hub / github.com/blues/note / forceCleanupAllNoteboxes

Function forceCleanupAllNoteboxes

lib/notebox_bug_demo_test.go:164–169  ·  view source on GitHub ↗

forceCleanupAllNoteboxes forcefully removes all noteboxes from the openboxes map This is used for test cleanup to ensure test isolation

()

Source from the content-addressed store, hash-verified

162// forceCleanupAllNoteboxes forcefully removes all noteboxes from the openboxes map
163// This is used for test cleanup to ensure test isolation
164func forceCleanupAllNoteboxes() {
165 openboxes.Range(func(key, value interface{}) bool {
166 openboxes.Delete(key)
167 return true
168 })
169}

Callers 1

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected