Skip to main content

read_script_source

Function read_script_source 

Source
pub fn read_script_source(path: &Path) -> Result<String, CamelError>
Expand description

Read the contents of a script file verbatim.

Relative paths are resolved against the process current working directory for diagnostics. Empty (or whitespace-only) files are rejected.