(wrappedEntry []byte, reason RemoveReason)
| 255 | } |
| 256 | |
| 257 | func (c *BigCache) providedOnRemoveWithReason(wrappedEntry []byte, reason RemoveReason) { |
| 258 | if c.config.onRemoveFilter == 0 || (1<<uint(reason))&c.config.onRemoveFilter > 0 { |
| 259 | c.config.OnRemoveWithReason(readKeyFromEntry(wrappedEntry), readEntry(wrappedEntry), reason) |
| 260 | } |
| 261 | } |
| 262 | |
| 263 | func (c *BigCache) notProvidedOnRemove(wrappedEntry []byte, reason RemoveReason) { |
| 264 | } |
nothing calls this directly
no test coverage detected