MCPcopy
hub / github.com/benbjohnson/litestream / DeleteAll

Method DeleteAll

store_compaction_remote_test.go:228–233  ·  view source on GitHub ↗
(context.Context)

Source from the content-addressed store, hash-verified

226}
227
228func (c *delayedReplicaClient) DeleteAll(context.Context) error {
229 c.mu.Lock()
230 defer c.mu.Unlock()
231 c.files = make(map[string]*delayedFile)
232 return nil
233}
234
235func (c *delayedReplicaClient) waitForAvailability() {
236 time.Sleep(c.delay)

Callers

nothing calls this directly

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected