Function tskit::bindings::tsk_table_collection_equals
source · pub unsafe extern "C" fn tsk_table_collection_equals(
self_: *const tsk_table_collection_t,
other: *const tsk_table_collection_t,
options: tsk_flags_t
) -> bool
Expand description
@brief Returns true if the data in the specified table collection is equal to the data in this table collection.
@rst
Returns true if the two table collections are equal. The indexes are
not considered as these are derived from the tables. We also do not
consider the file_uuid
, since it is a property of the file that set
of tables is stored in.
Options**
Options to control the comparison can be specified by providing one or more of the following bitwise flags. By default (options=0) two table collections are considered equal if all of the tables are byte-wise identical, and the sequence lengths, metadata and metadata schemas of the two table collections are identical.
- :c:macro:
TSK_CMP_IGNORE_PROVENANCE
- :c:macro:
TSK_CMP_IGNORE_METADATA
- :c:macro:
TSK_CMP_IGNORE_TS_METADATA
- :c:macro:
TSK_CMP_IGNORE_TIMESTAMPS
- :c:macro:
TSK_CMP_IGNORE_TABLES
- :c:macro:
TSK_CMP_IGNORE_REFERENCE_SEQUENCE
@endrst
@param self A pointer to a tsk_table_collection_t object. @param other A pointer to a tsk_table_collection_t object. @param options Bitwise comparison options. @return Return true if the specified table collection is equal to this table.