Skip to main content

to_res_path

Function to_res_path 

Source
pub fn to_res_path(file: &Path, project_abs: &Path) -> Result<String>
Expand description

Translate an absolute on-disk path to the res:// form used by the worker. Caller guarantees file is inside project_abs.