| 36 | } |
| 37 | |
| 38 | bool Overlaps(const char* smallest, const char* largest) { |
| 39 | InternalKeyComparator cmp(BytewiseComparator()); |
| 40 | Slice s(smallest != nullptr ? smallest : ""); |
| 41 | Slice l(largest != nullptr ? largest : ""); |
| 42 | return SomeFileOverlapsRange(cmp, disjoint_sorted_files_, files_, |
| 43 | (smallest != nullptr ? &s : nullptr), |
| 44 | (largest != nullptr ? &l : nullptr)); |
| 45 | } |
| 46 | |
| 47 | bool disjoint_sorted_files_; |
| 48 |
nothing calls this directly
no test coverage detected