MCPcopy Create free account
hub / github.com/go-dev-frame/sponge / Del

Method Del

internal/cache/cacheNameExample.go:85–88  ·  view source on GitHub ↗

Del delete cache

(ctx context.Context, keyNameExample keyTypeExample)

Source from the content-addressed store, hash-verified

83
84// Del delete cache
85func (c *cacheNameExampleCache) Del(ctx context.Context, keyNameExample keyTypeExample) error {
86 cacheKey := c.getCacheKey(keyNameExample)
87 return c.cache.Del(ctx, cacheKey)
88}

Callers

nothing calls this directly

Calls 2

getCacheKeyMethod · 0.95
DelMethod · 0.65

Tested by

no test coverage detected