Function move_lang::interface_generator::write_file_to_string
source · pub fn write_file_to_string(
named_address_mapping: &BTreeMap<ModuleId, impl AsRef<str>>,
compiled_module_file_input_path: &str
) -> Result<(ModuleId, String)>
Expand description
Generate the text for the “interface” file of a compiled module. This “interface” is the publically visible contents of the CompiledModule, represented in source language syntax Additionally, it returns the module id (address+name) of the module that was deserialized