Skip to main content

get_raw_extra_relationships_path

Function get_raw_extra_relationships_path 

Source
pub fn get_raw_extra_relationships_path(
    current_path: &Path,
    version: i16,
) -> Result<PathBuf>
Expand description

Returns the path to the extra relationships metadata file.

This file (TWaD_relationships.xml) contains foreign key relationship information that isn’t embedded in the table definition files themselves.

§Arguments

  • current_path - Directory containing Assembly Kit files
  • version - Assembly Kit version (1 or 2; version 0 is not supported)

§Returns

Returns the path to the relationships file, or an error if not found.

§Note

This file is optional and may not be present in all Assembly Kits.