Skip to main content

open_container

Function open_container 

Source
pub fn open_container(root: &Path) -> Result<Store<Any>, ContainerError>
Expand description

Open the container at root.

A lock someone else holds, a manifest that does not verify, and a failed write are not failures here: the container opens read-only carrying its reason, which the chrome shows. Only a path that is no container at all, or one that cannot be read, comes back as an error.

ยงErrors

As Store::open.