| 106 | } |
| 107 | |
| 108 | static bool AfterFile(const Comparator* ucmp, const Slice* user_key, |
| 109 | const FileMetaData* f) { |
| 110 | // null user_key occurs before all keys and is therefore never after *f |
| 111 | return (user_key != nullptr && |
| 112 | ucmp->Compare(*user_key, f->largest.user_key()) > 0); |
| 113 | } |
| 114 | |
| 115 | static bool BeforeFile(const Comparator* ucmp, const Slice* user_key, |
| 116 | const FileMetaData* f) { |
no test coverage detected