LeakCache prevents entries from even being released to enable testing certain behaviors.
| 11 | // LeakCache prevents entries from even being released to enable testing certain |
| 12 | // behaviors. |
| 13 | type LeakCache struct { |
| 14 | *Cache |
| 15 | } |
| 16 | |
| 17 | func (c *LeakCache) Acquire(ctx context.Context, db database.Store, fileID uuid.UUID) (*CloseFS, error) { |
| 18 | // We need to call prepare first to both 1. leak a reference and 2. prevent |
nothing calls this directly
no outgoing calls
no test coverage detected