pub fn add_comparison_call(
config: &str,
params: AddComparisonCallParams,
) -> Result<(String, Value)>Expand description
Add a new comparison call with element list
Creates a new comparison call linking a function to a feature with associated elements (CBOM records). Note: Only one comparison call is allowed per feature.
§Arguments
config- Configuration JSON stringparams- Comparison call parameters (ftype_code, cfunc_code, element_list required)
§Returns
Tuple of (modified_config, new_cfcall_record)
§Errors
Duplicateif a comparison call already exists for this featureNotFoundif function/feature/element codes don’t exist