@@ -2693,29 +2693,10 @@ int tsk_table_collection_loadf(
2693
2693
2694
2694
@rst
2695
2695
Writes the data from this table collection to the specified file.
2696
- Usually we expect that data written to a file will be in a form that
2697
- can be read directly and used to create a tree sequence; that is, we
2698
- assume that by default the tables are :ref:`sorted <sec_table_sorting>`
2699
- and :ref:`indexed <sec_table_indexes>`. Following these
2700
- assumptions, if the tables are not already indexed, we index the tables
2701
- before writing to file to save the cost of building these indexes at
2702
- load time. This behaviour requires that the tables are sorted.
2703
- If this automatic indexing is not desired, it can be disabled using
2704
- the `TSK_NO_BUILD_INDEXES` option.
2705
2696
2706
2697
If an error occurs the file path is deleted, ensuring that only complete
2707
2698
and well formed files will be written.
2708
2699
2709
- **Options**
2710
-
2711
- Options can be specified by providing one or more of the following bitwise
2712
- flags:
2713
-
2714
- TSK_NO_BUILD_INDEXES
2715
- Do not build indexes for this table before writing to file. This is useful
2716
- if you wish to write unsorted tables to file, as building the indexes
2717
- will raise an error if the table is unsorted.
2718
-
2719
2700
**Examples**
2720
2701
2721
2702
.. code-block:: c
@@ -2750,16 +2731,6 @@ Semantics are identical to :c:func:`tsk_table_collection_dump`.
2750
2731
Please see the :ref:`sec_c_api_examples_file_streaming` section for an example
2751
2732
of how to sequentially dump and load tree sequences from a stream.
2752
2733
2753
- **Options**
2754
-
2755
- Options can be specified by providing one or more of the following bitwise
2756
- flags:
2757
-
2758
- TSK_NO_BUILD_INDEXES
2759
- Do not build indexes for this table before writing to file. This is useful
2760
- if you wish to write unsorted tables to file, as building the indexes
2761
- will raise an error if the table is unsorted.
2762
-
2763
2734
@endrst
2764
2735
2765
2736
@param self A pointer to an initialised tsk_table_collection_t object.
0 commit comments