Skip to main content

open_archive

Function open_archive 

Source
pub fn open_archive(archive: &Path) -> Result<Store<Any>, ArchiveFailure>
Expand description

Lay the archive at archive down as the container it carries, beside it, and open that — engine.bwx.zip becomes engine.bwx in the same folder. A container the store cannot open is not one that arrived, so the half-laid directory is removed rather than left standing.

§Errors

As ArchiveFailure.