Function brane_cli::run::initialize_dummy_vm
source · pub fn initialize_dummy_vm(
options: ParserOptions,
) -> Result<DummyVmState, Error>
Expand description
Function that prepares a local, offline virtual machine that never runs any jobs.
It does read the local index to determine if packages are legal.
§Arguments
options
: The ParserOptions that describe how to parse the given source.
§Returns
The newly created virtual machine together with associated states as a DummyVmState.
§Errors
This function errors if we failed to get the new package indices or other information.