Skip to main content

module_path_from_file_with_root

Function module_path_from_file_with_root 

Source
pub fn module_path_from_file_with_root(
    file_path: &str,
    module_root: &Path,
) -> String
Expand description

Converts a file path into a pseudo-Rust module path using a known module root.