.. highlightlang:: us .. _updf_commit: updf_commit =========== .. index:: updf_commit .. us.tag updf_commit NOTREADYENGLISH updf updf-stor New560 If a root storage is given the changes are written to disk. .. function:: bool = updf_commit(stg) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: stg *stg* is a storage object (see :ref:`updf_create_file`, :ref:`updf_open_file`, :ref:`updf_create_storage`). .. us.example **Example** See :ref:`updf_revert`. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 5.6.0 - New .. seealso:: :ref:`overview-updf-files`, :ref:`updf_revert` :sub:`id-946758`