mimium_lang::utils::fileloader

Function load_mmmlibfile

Source
pub fn load_mmmlibfile(
    current_file_or_dir: &str,
    path: &str,
) -> Result<(String, PathBuf), Error>
Expand description

Used for resolving include. If the filename is given it searches ~/.mimium/lib first. If not found, tries to find in relative path. If the relative path is given explicitly, do not find in standard library path.