Skip to main content

load_cfg_document

Function load_cfg_document 

Source
pub fn load_cfg_document(
    path: &Path,
) -> Result<OpenMWConfiguration, ImportError>
Expand description

Loads an OpenMW cfg document without flattening it through resolved serialization.

ยงErrors

Returns ImportError if openmw-config cannot load the requested cfg chain.