Skip to main content

reconstruct_with

Function reconstruct_with 

Source
pub fn reconstruct_with(
    program: &Program,
    manifest: &Manifest,
    catalog: &Catalog,
    locale: &Locale,
) -> Result<String, ReconstructError>
Expand description

The context-sensitive form of reconstruct: resolves identities through the supplied manifest and catalog. The locale selects the catalog spellings used for cross-checks (reconstruction emits OPY, which is locale-independent; en-US is the catalog’s declared surface).