The absolute path of the extraction directory.
The parent directory of an absolute path.
OptionalfatalSet when an error stops the extraction.
OptionalgidThe options, with no prototype.
OptionalprocessOptionalprocessResolve a path from an absolute path.
OptionaluidGives the open flag for a new file of a given size.
Check the entry, with no use of the file system. Set its
absolute path, and change its path, linkpath, and mode to
the values to extract. False if the entry must not be extracted.
Report the failure of one entry as a TAR_ENTRY_ERROR warning.
Throws the error if it stops the extraction: the extraction
directory is not usable, the archive cannot be read, or strict
is set.
Record the error that stops the extraction. Returns it.
True if the entry can be written into the file that is on disk. A file with more than one link is not used, because the write would change the other links. Windows does not report a useful link count.
The parts of the path from the extraction directory to the target of a link entry. None of them can be a symbolic link.
The owner to set on the entry, if it needs one: with
preserveOwner, when the owner in the archive is not the process
owner, and with uid and gid, when they are not the process
owner.
The parts of the path from the extraction directory to the parent directory of an entry. The extraction checks them again after it makes the entry: none of them can be a symbolic link then. So a directory that another process replaced with a symbolic link during the extraction is an error of the entry.
The options for the reader. Its warnings go to warn().
The paths that the entry must have for itself while it is made. A link also reserves its target, so that an entry that makes the target, and an entry that goes through the link, do not run at the same time as the link.
True if the object on disk at the path of the entry must stay.
The error for a link target that goes through a symbolic link.
The times to set on the entry, if it needs them.
Report a problem to onwarn, or throw it if strict is set. A
damaged archive is always an error here, because the extraction
cannot be complete.
The parts of the extraction that do not use the file system: the options, the checks of each entry, and the warnings.
UnpackandUnpackSyncadd the file system work.