We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
symlink_mode
1 parent 232da89 commit b313c1dCopy full SHA for b313c1d
README.rst
@@ -114,6 +114,14 @@ and the optional third argument is the compression format (called “filter” i
114
libarchive). The acceptable values are listed in ``libarchive.ffi.WRITE_FORMATS``
115
and ``libarchive.ffi.WRITE_FILTERS``.
116
117
+Symbolic links
118
+~~~~~~~~~~~~~~
119
+
120
+By default, libarchive preserves symbolic links. If you want it to resolve the
121
+links and archive the files they point to instead, pass ``symlink_mode='logical'``
122
+when calling the ``add_files`` method. If you do that, an ``ArchiveError``
123
+exception will be raised when a symbolic link points to a nonexistent file.
124
125
File metadata codecs
126
--------------------
127
0 commit comments