Function some_file_overlaps_range

Source
pub fn some_file_overlaps_range(
    icmp: &InternalKeyComparator,
    disjoint_sorted_files: bool,
    files: &Vec<*mut FileMetaData>,
    smallest_user_key_: *const Slice,
    largest_user_key_: *const Slice,
) -> bool
Expand description

| Returns true iff some file in “files” overlaps | the user key range [*smallest,*largest]. | | smallest==nullptr represents a key smaller than | all keys in the DB. | | largest==nullptr represents a key largest than | all keys in the DB. | | REQUIRES: If disjoint_sorted_files, files[] | contains disjoint ranges in sorted | order.