|Did you know ...||Search Documentation:|
:- use_module(library(archive)).(can be autoloaded)
close_parent(true)is used to close stream if the archive is closed using archive_close/1. For other options, the defaults are typically fine. The option
format(raw)must be used to process compressed streams that do not contain explicit entries (e.g., gzip'ed data) unambibuously. The
rawformat creates a pseudo archive holding a single member named
false), Stream is closed if archive_close/1 is called on Archive.
allis assumed. In write mode, none is assumed. Supported values are
xz. The value
allis default for read,
allis assumed for read mode. Note that
alldoes not include
mtree. To open both archive and non-archive files, both
format(mtree)must be specified. Supported values are:
zip. The value
allis default for read.
Note that the actually supported compression types and formats may vary depending on the version and installation options of the underlying libarchive library. This predicate raises a domain error if the (explicitly) requested format is not supported.
domain_error(filter, Filter)if the requested filter is not supported.
domain_error(format, Format)if the requested format type is not supported.