MCPcopy Index your code
hub / github.com/devaccuracy/ledgerforge / Delete

Method Delete

internal/cache/cache.go:153–155  ·  view source on GitHub ↗

Delete removes an entry from the cache based on the provided key. Parameters: - ctx: The context for the operation. - key: The cache key to delete. Returns an error if the deletion fails.

(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

151// - key: The cache key to delete.
152// Returns an error if the deletion fails.
153func (r *RedisCache) Delete(ctx context.Context, key string) error {
154 return r.cache.Delete(ctx, key)
155}

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected