Protected Optional ReadonlyloggerNot available to instances created without dependency injection, which report skipped entries on the console.
ProtectedassertRejects writing a file over an existing link or special file, which could point outside of the destination.
ProtectedcreateCreates a directory below the root one segment at a time and refuses to descend into an existing entry that is not a directory, so that nothing is created or written through a link that already existed in the destination.
ProtecteddetectDetects the format of an archive from its first bytes.
Extracts the archive into the destination directory, creating it if needed.
the extracted files and directories.
ProtectedreadReads the content of the files in the archive without writing anything to disk.
ProtectedreadProtectedreadProtectedreadProtectedreportProtectedtoProtectedtoProtectedwrite
Extracts zip, tar and gzipped tar archives.
Entry paths and links are not trusted: an entry whose path is absolute or leaves the archive root fails the extraction, and links and other special entries are skipped rather than created, so that nothing can be written or exposed outside of the destination. The size of the extracted content is not limited.