Skip to main content

load_from_zip

Function load_from_zip 

Source
pub fn load_from_zip<P: TrxScalar>(path: &Path) -> Result<TrxFile<P>>
Expand description

Load a TRX file from a .trx zip archive.

Extracts the archive to a temporary directory, then delegates to the directory loader. The TempDir handle is stored in the returned TrxFile so the temp files remain alive while mmaps reference them.