pub fn create(path: Option<&Path>) -> Result<CreateResult, BottleError>Expand description
Creates the single bottle at path (or the default data path when None).
Fails if a bottle is already registered and still present on disk. A stale registry entry (path missing) is cleared automatically so create can proceed.
After the skeleton is written, installs guest libSystem.B.dylib when a
source is discovered (see libsystem::discover) or from the crate-embedded
freestanding dylib, unless CreateOptions::skip_libsystem is set.
An explicit --libsystem path that does not exist is an error.