Skip to main content

write_static_stored_file

Function write_static_stored_file 

Source
pub fn write_static_stored_file<E: Entry>(
    entries: &[E],
    file: &Path,
    flags: MetaEntryFlags,
) -> Result<(StaticSortedFileBuilderMeta<'static>, File)>
Expand description

Writes an SST file from a pre-sorted slice of entries.

This is a convenience wrapper around StreamingSstWriter for callers that already have all entries in memory.