php-doc-en/reference/xdiff/book.xml
2021-06-13 23:23:33 +01:00

63 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<book xml:id="book.xdiff" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="pecl" ?>
<title>xdiff</title>
<!-- {{{ preface -->
<preface xml:id="intro.xdiff">
&reftitle.intro;
<para>
xdiff extension enables you to create and apply patch files containing
differences between different revisions of files.
</para>
<para>
This extension supports two modes of operation - on strings and on files, as well
as two different patch formats - unified and binary. Unified patches are excellent
for text files as they are human-readable and easy to review. For binary files like
archives or images, binary patches will be adequate choice as they are binary safe and
handle non-printable characters well.
</para>
<para>
Starting from version 1.5.0 there are two different sets of functions for generating
binary patches. New functions - <function>xdiff_string_rabdiff</function> and
<function>xdiff_file_rabdiff</function> generate output compatible with older functions
but are typically faster and generate smaller results. For more details about methods of
generating binary patches and differences between them, please check
<link xlink:href="&url.xdiff;">libxdiff</link> website.
</para>
<para>
This extension uses libxdiff to implement these functions. Please see
<link xlink:href="&url.xdiff;">&url.xdiff;</link> for more information.
</para>
</preface>
<!-- }}} -->
&reference.xdiff.setup;
&reference.xdiff.constants;
&reference.xdiff.reference;
</book>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->