MCPcopy Create free account
hub / github.com/betta-tech/byo-coding-agent / Clear

Function Clear

internal/debug/debug.go:230–234  ·  view source on GitHub ↗

Clear empties the ring. Called from /debug clear.

()

Source from the content-addressed store, hash-verified

228
229// Clear empties the ring. Called from /debug clear.
230func Clear() {
231 mu.Lock()
232 events = events[:0]
233 mu.Unlock()
234}

Calls

no outgoing calls