slosh_lib

Function set_initial_load_path

Source
pub fn set_initial_load_path(env: &mut SloshVm, load_paths: Vec<&str>)
Expand description

Given a SloshVm and a String, usually the rc file for slosh, set the load-path global variable to facilitate proper loading of scripts.

It is assumed users will put slosh scripts at the location(s) dictated by load-path.