luaur_cli_lib/functions/resolve_path.rs
1pub fn resolve_path(path: &str, base_file_path: &str) -> Option<alloc::string::String> {
2 let base_file_path_parent = crate::functions::get_parent_path::get_parent_path(base_file_path)?;
3 let joined = crate::functions::join_paths_file_utils_alt_b::join_paths_string_view_string_view(
4 &base_file_path_parent,
5 path,
6 );
7 Some(crate::functions::normalize_path::normalize_path(&joined))
8}