Skip to main content

resolve_script_path

Function resolve_script_path 

Source
pub fn resolve_script_path(name: &str) -> Option<PathBuf>
Expand description

Resolves a script filename to an existing path.

If name already has an extension, it is used verbatim. Otherwise, .calc is tried first (native ccalc format), then .m (Octave/MATLAB compatibility). The search is relative to the current working directory.