(wrappedEntry []byte, reason RemoveReason)
| 264 | } |
| 265 | |
| 266 | func (c *BigCache) providedOnRemoveWithMetadata(wrappedEntry []byte, reason RemoveReason) { |
| 267 | hashedKey := c.hash.Sum64(readKeyFromEntry(wrappedEntry)) |
| 268 | shard := c.getShard(hashedKey) |
| 269 | c.config.OnRemoveWithMetadata(readKeyFromEntry(wrappedEntry), readEntry(wrappedEntry), shard.getKeyMetadata(hashedKey)) |
| 270 | } |
nothing calls this directly
no test coverage detected