Method
RemoveWithoutTurn
(ctx context.Context, conn *pool.Conn, reason error)
Source from the content-addressed store, hash-verified
| 76 | } |
| 77 | |
| 78 | func (mp *mockPool) RemoveWithoutTurn(ctx context.Context, conn *pool.Conn, reason error) { |
| 79 | // For mock pool, same behavior as Remove since we don't have a turn-based queue |
| 80 | mp.Remove(ctx, conn, reason) |
| 81 | } |
| 82 | |
| 83 | // WasRemoved safely checks if a connection was removed from the pool |
| 84 | func (mp *mockPool) WasRemoved(connID uint64) bool { |
Callers
nothing calls this directly
Tested by
no test coverage detected