pub unsafe extern "C" fn rocksdb_level_metadata_get_sst_file_metadata(
    level_meta: *mut rocksdb_level_metadata_t,
    i: usize
) -> *mut rocksdb_sst_file_metadata_t
Expand description

Returns the sst_file_metadata_t of the ith file from the specified level metadata.

If the specified i is greater than or equal to the number of files in the specified level, then NULL will be returned.

Note that the caller is responsible to release the returned memory using rocksdb_sst_file_metadata_destroy before releasing its parent rocksdb_level_metadata_t.