MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / Purge

Method Purge

pkg/cache/memory.go:59–63  ·  view source on GitHub ↗
(_ context.Context)

Source from the content-addressed store, hash-verified

57}
58
59func (m *memoryCache[T]) Purge(_ context.Context) error {
60 m.lru.Purge()
61 m.logger.Debugw("msg", "cache purge", "backend", "memory")
62 return nil
63}

Callers

nothing calls this directly

Calls 2

PurgeMethod · 0.65
DebugwMethod · 0.65

Tested by

no test coverage detected