diff --git a/.jazzy.yaml b/.jazzy.yaml index 45a25699..afa19ebf 100644 --- a/.jazzy.yaml +++ b/.jazzy.yaml @@ -3,11 +3,11 @@ clean: true exclude: Tests/ author: Timofey Solomko module: SWCompression -module_version: 3.1.2 +module_version: 3.1.3 copyright: '© 2017 Timofey Solomko' readme: README.md github_url: https://github.com/tsolomko/SWCompression -github_file_prefix: https://github.com/tsolomko/SWCompression/tree/v3.1.2 +github_file_prefix: https://github.com/tsolomko/SWCompression/tree/v3.1.3 theme: fullwidth custom_categories: diff --git a/CHANGELOG.md b/CHANGELOG.md index 936a95c5..0c985944 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog -v3.1.1 +v3.1.3 +---------------- +- Added support for GNU LongLing and LongName extenstions to TAR format. +- Added support for modification timestamp from extended timestamps ZIP extra field. + +v3.1.2 ---------------- - `wrongUstarVersion` error is no longer incorrectly thrown for GNU tar containers. diff --git a/README.md b/README.md index 420f3fe8..09832cef 100644 --- a/README.md +++ b/README.md @@ -180,10 +180,6 @@ Comment: Philosophy for such errors is that by the time these errors are thrown, decompression was already performed, so we can still provide the result of decompression to the caller. It is intended to fix this problem, but solution requires backwards-incompatible API changes so it is delayed until 4.0 release. -- GNU-specific extensions to TAR format (such as 'L' file type aka LongLink) are not fully supported. -Currently, they are returned as usual files with `typeUnknown` file type, -instead of being used as source of information about following entries. - Future plans ------------- - Better Deflate compression. diff --git a/SWCompression.podspec b/SWCompression.podspec index 9fb1abf5..95985e75 100644 --- a/SWCompression.podspec +++ b/SWCompression.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "SWCompression" - s.version = "3.1.2" + s.version = "3.1.3" s.summary = "Framework with implementations in Swift of different (de)compression algorithms" s.description = <<-DESC diff --git a/Sources/Service/Info.plist b/Sources/Service/Info.plist index abd909e4..2b1e0b73 100644 --- a/Sources/Service/Info.plist +++ b/Sources/Service/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 3.1.2 + 3.1.3 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSHumanReadableCopyright diff --git a/Sources/TarContainer.swift b/Sources/TarContainer.swift index 704937a2..4fa4b0da 100644 --- a/Sources/TarContainer.swift +++ b/Sources/TarContainer.swift @@ -34,6 +34,8 @@ public class TarContainer: Container { var lastGlobalExtendedHeader: String? var lastLocalExtendedHeader: String? + var longLinkName: String? + var longName: String? // Container ends with two zero-filled records. // TODO: Add better check and error throw. @@ -43,15 +45,26 @@ public class TarContainer: Container { } else { pointerData.index -= 1024 } - let entry = try TarEntry(&pointerData, lastGlobalExtendedHeader, lastLocalExtendedHeader) + let entry = try TarEntry(&pointerData, lastGlobalExtendedHeader, lastLocalExtendedHeader, + longName, longLinkName) switch entry.type { case .globalExtendedHeader: lastGlobalExtendedHeader = String(data: entry.data(), encoding: .utf8) case .localExtendedHeader: lastLocalExtendedHeader = String(data: entry.data(), encoding: .utf8) default: - output.append(entry) - lastLocalExtendedHeader = nil + if entry.isLongName { + longName = try DataWithPointer(data: entry.data(), bitOrder: .reversed) + .nullEndedAsciiString(cutoff: entry.size) + } else if entry.isLongLinkName { + longLinkName = try DataWithPointer(data: entry.data(), bitOrder: .reversed) + .nullEndedAsciiString(cutoff: entry.size) + } else { + output.append(entry) + lastLocalExtendedHeader = nil + longName = nil + longLinkName = nil + } } } diff --git a/Sources/TarEntry.swift b/Sources/TarEntry.swift index 5ca38a42..4c64074e 100644 --- a/Sources/TarEntry.swift +++ b/Sources/TarEntry.swift @@ -41,7 +41,7 @@ public class TarEntry: ContainerEntry { /// Name of the file or directory. public var name: String { - return paxPath ?? ((fileNamePrefix ?? "") + (fileName ?? "")) + return (paxPath ?? gnuLongName) ?? ((fileNamePrefix ?? "") + (fileName ?? "")) } /// True, if an entry is a directory. @@ -149,7 +149,7 @@ public class TarEntry: ContainerEntry { /// Path to a linked file. public var linkPath: String? { - return paxLinkPath ?? linkedFileName + return (paxLinkPath ?? gnuLongLinkName) ?? linkedFileName } private var paxLinkPath: String? @@ -165,7 +165,25 @@ public class TarEntry: ContainerEntry { private let dataObject: Data - init(_ pointerData: inout DataWithPointer, _ globalExtendedHeader: String?, _ localExtendedHeader: String?) throws { + let isLongName: Bool + let isLongLinkName: Bool + + private let gnuLongName: String? + private let gnuLongLinkName: String? + + init(_ pointerData: inout DataWithPointer, _ globalExtendedHeader: String?, _ localExtendedHeader: String?, + _ longName: String?, _ longLinkName: String?) throws { + if let longName = longName { + gnuLongName = longName + } else { + gnuLongName = nil + } + if let longLinkName = longLinkName { + gnuLongLinkName = longLinkName + } else { + gnuLongLinkName = nil + } + var attributesDict = [FileAttributeKey: Any]() let blockStartIndex = pointerData.index @@ -230,7 +248,10 @@ public class TarEntry: ContainerEntry { else { throw TarError.wrongHeaderChecksum } // File type - let fileType = EntryType(rawValue: String(Character(UnicodeScalar(pointerData.alignedByte())))) ?? .vendorUnknownOrReserved + let fileTypeIndicator = String(Character(UnicodeScalar(pointerData.alignedByte()))) + isLongLinkName = fileTypeIndicator == "K" + isLongName = fileTypeIndicator == "L" + let fileType = EntryType(rawValue: fileTypeIndicator) ?? .vendorUnknownOrReserved type = fileType switch fileType { case .normal: @@ -361,9 +382,9 @@ public class TarEntry: ContainerEntry { } -fileprivate extension DataWithPointer { +extension DataWithPointer { - fileprivate func nullEndedBuffer(cutoff: Int) -> [UInt8] { + func nullEndedBuffer(cutoff: Int) -> [UInt8] { let startIndex = index var buffer = [UInt8]() while index - startIndex < cutoff { @@ -378,7 +399,7 @@ fileprivate extension DataWithPointer { return buffer } - fileprivate func nullEndedAsciiString(cutoff: Int) throws -> String { + func nullEndedAsciiString(cutoff: Int) throws -> String { if let string = String(bytes: self.nullEndedBuffer(cutoff: cutoff), encoding: .ascii) { return string } else { @@ -386,7 +407,7 @@ fileprivate extension DataWithPointer { } } - fileprivate func nullSpaceEndedBuffer(cutoff: Int) -> [UInt8] { + func nullSpaceEndedBuffer(cutoff: Int) -> [UInt8] { let startIndex = index var buffer = [UInt8]() while index - startIndex < cutoff { @@ -401,7 +422,7 @@ fileprivate extension DataWithPointer { return buffer } - fileprivate func nullSpaceEndedAsciiString(cutoff: Int) throws -> String { + func nullSpaceEndedAsciiString(cutoff: Int) throws -> String { if let string = String(bytes: self.nullSpaceEndedBuffer(cutoff: cutoff), encoding: .ascii) { return string } else { diff --git a/Sources/ZipCentralDirectoryEntry.swift b/Sources/ZipCentralDirectoryEntry.swift index 030f4a8d..c28c0873 100644 --- a/Sources/ZipCentralDirectoryEntry.swift +++ b/Sources/ZipCentralDirectoryEntry.swift @@ -27,6 +27,8 @@ struct ZipCentralDirectoryEntry { private(set) var offset: UInt64 + private(set) var modificationTimestamp: Int? + init(_ pointerData: inout DataWithPointer, _ currentDiskNumber: UInt32) throws { // Check signature. guard pointerData.uint32FromAlignedBytes(count: 4) == 0x02014b50 @@ -71,7 +73,7 @@ struct ZipCentralDirectoryEntry { let headerID = pointerData.intFromAlignedBytes(count: 2) let size = pointerData.intFromAlignedBytes(count: 2) switch headerID { - case 0x0001: + case 0x0001: // Zip64 if self.uncompSize == 0xFFFFFFFF { self.uncompSize = pointerData.uint64FromAlignedBytes(count: 8) } @@ -84,13 +86,19 @@ struct ZipCentralDirectoryEntry { if self.diskNumberStart == 0xFFFF { self.diskNumberStart = pointerData.uint32FromAlignedBytes(count: 4) } + case 0x5455: // Extended Timestamp + let flags = pointerData.alignedByte() + guard flags & 0xF8 == 0 else { break } + if flags & 0x01 != 0 { + self.modificationTimestamp = pointerData.intFromAlignedBytes(count: 4) + } default: pointerData.index += size } } guard let fileComment = String(data: Data(bytes: pointerData.alignedBytes(count: fileCommentLength)), - encoding: .utf8) + encoding: .utf8) else { throw ZipError.wrongTextField } self.fileComment = fileComment @@ -106,5 +114,5 @@ struct ZipCentralDirectoryEntry { guard self.generalPurposeBitFlags & 0x20 == 0 else { throw ZipError.patchingNotSupported } } - + } diff --git a/Sources/ZipContainer.swift b/Sources/ZipContainer.swift index 4a81371c..44a66a9e 100644 --- a/Sources/ZipContainer.swift +++ b/Sources/ZipContainer.swift @@ -11,13 +11,13 @@ public class ZipContainer: Container { /** Processes ZIP container and returns an array of `ContainerEntries` (which are actually `ZipEntries`). - - Important: The order of entries is defined by ZIP container and, + - Important: The order of entries is defined by ZIP container and, particularly, by a creator of a given ZIP container. It is likely that directories will be encountered earlier than files stored in those directories, but one SHOULD NOT rely on any particular order. - Parameter container: ZIP container's data. - + - Throws: `ZipError` or any other error associated with compression type, depending on the type of the problem. It may indicate that either container is damaged or it might not be ZIP container at all. diff --git a/Sources/ZipEntry.swift b/Sources/ZipEntry.swift index 80b5d820..a7fbb761 100644 --- a/Sources/ZipEntry.swift +++ b/Sources/ZipEntry.swift @@ -178,6 +178,11 @@ public class ZipEntry: ContainerEntry { attributesDict[FileAttributeKey.modificationDate] = mtime } + // Extended Timestamp + if let mtimestamp = cdEntry.modificationTimestamp { + attributesDict[FileAttributeKey.modificationDate] = Date(timeIntervalSince1970: TimeInterval(mtimestamp)) + } + // Size attributesDict[FileAttributeKey.size] = cdEntry.uncompSize @@ -219,13 +224,13 @@ public class ZipEntry: ContainerEntry { } else if hostSystem == 0 { attributesDict[FileAttributeKey.type] = FileAttributeType.typeRegular } - + if dosAttributes & 0x1 != 0 { attributesDict[FileAttributeKey.appendOnly] = true } } - + self.entryAttributes = attributesDict } - + } diff --git a/Sources/ZipLocalHeader.swift b/Sources/ZipLocalHeader.swift index af7ce65d..f26204a7 100644 --- a/Sources/ZipLocalHeader.swift +++ b/Sources/ZipLocalHeader.swift @@ -21,6 +21,10 @@ struct ZipLocalHeader { let fileName: String + private(set) var modificationTimestamp: Int? + private(set) var accessTimestamp: Int? + private(set) var creationTimestamp: Int? + init(_ pointerData: inout DataWithPointer) throws { // Check signature. guard pointerData.uint32FromAlignedBytes(count: 4) == 0x04034b50 @@ -62,6 +66,18 @@ struct ZipLocalHeader { self.compSize = pointerData.uint64FromAlignedBytes(count: 8) self.zip64FieldsArePresent = true + case 0x5455: // Extended Timestamp + let flags = pointerData.alignedByte() + guard flags & 0xF8 == 0 else { break } + if flags & 0x01 != 0 { + self.modificationTimestamp = pointerData.intFromAlignedBytes(count: 4) + } + if flags & 0x02 != 0 { + self.accessTimestamp = pointerData.intFromAlignedBytes(count: 4) + } + if flags & 0x04 != 0 { + self.creationTimestamp = pointerData.intFromAlignedBytes(count: 4) + } default: pointerData.index += size } @@ -77,5 +93,5 @@ struct ZipLocalHeader { guard self.generalPurposeBitFlags & 0x20 == 0 else { throw ZipError.patchingNotSupported } } - + } diff --git a/docs/Archives.html b/docs/Archives.html index 897c1806..5f685f0f 100644 --- a/docs/Archives.html +++ b/docs/Archives.html @@ -211,7 +211,7 @@
- Show on GitHub + Show on GitHub
@@ -242,7 +242,7 @@
- Show on GitHub + Show on GitHub
@@ -277,7 +277,7 @@
- Show on GitHub + Show on GitHub
@@ -308,7 +308,7 @@
- Show on GitHub + Show on GitHub
@@ -343,7 +343,7 @@
- Show on GitHub + Show on GitHub
diff --git a/docs/Classes/BZip2.html b/docs/Classes/BZip2.html index 44c05423..e6c3557f 100644 --- a/docs/Classes/BZip2.html +++ b/docs/Classes/BZip2.html @@ -249,7 +249,7 @@ It may indicate that either data is damaged or it might not be compressed with B

Decompressed data.

- Show on GitHub + Show on GitHub
diff --git a/docs/Classes/Deflate.html b/docs/Classes/Deflate.html index fb3a49f2..23a308df 100644 --- a/docs/Classes/Deflate.html +++ b/docs/Classes/Deflate.html @@ -254,7 +254,7 @@ It may indicate that either data is damaged or it might not be compressed with D

Decompressed data.

- Show on GitHub + Show on GitHub
@@ -314,7 +314,7 @@ then static Huffman block will be created.

- Show on GitHub + Show on GitHub
diff --git a/docs/Classes/GzipArchive.html b/docs/Classes/GzipArchive.html index 52f6ef9b..12b9cc3f 100644 --- a/docs/Classes/GzipArchive.html +++ b/docs/Classes/GzipArchive.html @@ -219,7 +219,7 @@
- Show on GitHub + Show on GitHub
@@ -288,7 +288,7 @@ it might not be archived with GZip or compressed with Deflate at all.

Unarchived data.

- Show on GitHub + Show on GitHub
@@ -357,7 +357,7 @@ it might not be archived with GZip or compressed with Deflate at all.

Unarchived data.

- Show on GitHub + Show on GitHub
@@ -500,7 +500,7 @@ then - Show on GitHub + Show on GitHub diff --git a/docs/Classes/GzipArchive/Member.html b/docs/Classes/GzipArchive/Member.html index 9e6d61c5..94d725b5 100644 --- a/docs/Classes/GzipArchive/Member.html +++ b/docs/Classes/GzipArchive/Member.html @@ -218,7 +218,7 @@
- Show on GitHub + Show on GitHub
@@ -248,7 +248,7 @@
- Show on GitHub + Show on GitHub
diff --git a/docs/Classes/LZMA.html b/docs/Classes/LZMA.html index 46dbae3f..56ed0572 100644 --- a/docs/Classes/LZMA.html +++ b/docs/Classes/LZMA.html @@ -249,7 +249,7 @@ It may indicate that either data is damaged or it might not be compressed with L

Decompressed data.

- Show on GitHub + Show on GitHub
diff --git a/docs/Classes/LZMA2.html b/docs/Classes/LZMA2.html index f65057df..734f1aa4 100644 --- a/docs/Classes/LZMA2.html +++ b/docs/Classes/LZMA2.html @@ -249,7 +249,7 @@ It may indicate that either data is damaged or it might not be compressed with L

Decompressed data.

- Show on GitHub + Show on GitHub
diff --git a/docs/Classes/TarContainer.html b/docs/Classes/TarContainer.html index 19128e91..a5ddf5a5 100644 --- a/docs/Classes/TarContainer.html +++ b/docs/Classes/TarContainer.html @@ -254,7 +254,7 @@ but one SHOULD NOT rely on any particular order.

Array of TarEntry as an array of ContainerEntry.

- Show on GitHub + Show on GitHub
diff --git a/docs/Classes/TarEntry.html b/docs/Classes/TarEntry.html index 035a5e7f..1d196e92 100644 --- a/docs/Classes/TarEntry.html +++ b/docs/Classes/TarEntry.html @@ -224,7 +224,7 @@
- Show on GitHub + Show on GitHub
@@ -254,7 +254,7 @@
- Show on GitHub + Show on GitHub
@@ -284,7 +284,7 @@
- Show on GitHub + Show on GitHub
@@ -314,7 +314,7 @@
- Show on GitHub + Show on GitHub
@@ -364,7 +364,7 @@
- Show on GitHub + Show on GitHub
@@ -399,7 +399,7 @@
- Show on GitHub + Show on GitHub
@@ -434,7 +434,7 @@
- Show on GitHub + Show on GitHub
@@ -469,7 +469,7 @@
- Show on GitHub + Show on GitHub
@@ -504,7 +504,7 @@
- Show on GitHub + Show on GitHub
@@ -539,7 +539,7 @@
- Show on GitHub + Show on GitHub
@@ -574,7 +574,7 @@
- Show on GitHub + Show on GitHub
@@ -609,7 +609,7 @@
- Show on GitHub + Show on GitHub
@@ -639,7 +639,7 @@
- Show on GitHub + Show on GitHub
@@ -669,7 +669,7 @@
- Show on GitHub + Show on GitHub
@@ -699,7 +699,7 @@
- Show on GitHub + Show on GitHub
@@ -729,7 +729,7 @@
- Show on GitHub + Show on GitHub
@@ -759,7 +759,7 @@
- Show on GitHub + Show on GitHub
@@ -789,7 +789,7 @@
- Show on GitHub + Show on GitHub
diff --git a/docs/Classes/TarEntry/EntryType.html b/docs/Classes/TarEntry/EntryType.html index 5767001c..345de6cc 100644 --- a/docs/Classes/TarEntry/EntryType.html +++ b/docs/Classes/TarEntry/EntryType.html @@ -223,7 +223,7 @@
- Show on GitHub + Show on GitHub
@@ -257,7 +257,7 @@
- Show on GitHub + Show on GitHub
@@ -291,7 +291,7 @@
- Show on GitHub + Show on GitHub
@@ -325,7 +325,7 @@
- Show on GitHub + Show on GitHub
@@ -359,7 +359,7 @@
- Show on GitHub + Show on GitHub
@@ -393,7 +393,7 @@
- Show on GitHub + Show on GitHub
@@ -427,7 +427,7 @@
- Show on GitHub + Show on GitHub
@@ -461,7 +461,7 @@
- Show on GitHub + Show on GitHub
@@ -495,7 +495,7 @@
- Show on GitHub + Show on GitHub
@@ -529,7 +529,7 @@
- Show on GitHub + Show on GitHub
@@ -563,7 +563,7 @@
- Show on GitHub + Show on GitHub
diff --git a/docs/Classes/XZArchive.html b/docs/Classes/XZArchive.html index ddf7dbb7..420af875 100644 --- a/docs/Classes/XZArchive.html +++ b/docs/Classes/XZArchive.html @@ -254,7 +254,7 @@ It may indicate that either the archive is damaged or it might not be compressed

Unarchived data.

- Show on GitHub + Show on GitHub
@@ -322,7 +322,7 @@ it might not be archived with XZ or LZMA(2) at all.

Unarchived data.

- Show on GitHub + Show on GitHub
diff --git a/docs/Classes/ZipContainer.html b/docs/Classes/ZipContainer.html index 690d96fc..8b61ed81 100644 --- a/docs/Classes/ZipContainer.html +++ b/docs/Classes/ZipContainer.html @@ -256,7 +256,7 @@ It may indicate that either container is damaged or it might not be ZIP containe

Array of ZipEntry as an array of ContainerEntry.

- Show on GitHub + Show on GitHub
diff --git a/docs/Classes/ZipEntry.html b/docs/Classes/ZipEntry.html index 93dcc829..d250771f 100644 --- a/docs/Classes/ZipEntry.html +++ b/docs/Classes/ZipEntry.html @@ -218,7 +218,7 @@
- Show on GitHub + Show on GitHub
@@ -248,7 +248,7 @@
- Show on GitHub + Show on GitHub
@@ -283,7 +283,7 @@
- Show on GitHub + Show on GitHub
@@ -313,7 +313,7 @@
- Show on GitHub + Show on GitHub
@@ -345,7 +345,7 @@ Otherwise, it is true if size of data is 0 AND last character of entry’s n
- Show on GitHub + Show on GitHub
@@ -390,7 +390,7 @@ Otherwise, it is true if size of data is 0 AND last character of entry’s n
- Show on GitHub + Show on GitHub
@@ -426,7 +426,7 @@ depending on the type of the problem. An error can indicate that container is da
- Show on GitHub + Show on GitHub
diff --git a/docs/Classes/ZlibArchive.html b/docs/Classes/ZlibArchive.html index 329afaea..057d62c7 100644 --- a/docs/Classes/ZlibArchive.html +++ b/docs/Classes/ZlibArchive.html @@ -257,7 +257,7 @@ it might not be archived with Zlib or compressed with Deflate at all.

Unarchived data.

- Show on GitHub + Show on GitHub
@@ -324,7 +324,7 @@ It will also be specified in archive’s header that the compressor used the

Resulting archive’s data.

- Show on GitHub + Show on GitHub
diff --git a/docs/Compression.html b/docs/Compression.html index 0eb8aee2..177515af 100644 --- a/docs/Compression.html +++ b/docs/Compression.html @@ -211,7 +211,7 @@
- Show on GitHub + Show on GitHub
@@ -246,7 +246,7 @@
- Show on GitHub + Show on GitHub
@@ -281,7 +281,7 @@
- Show on GitHub + Show on GitHub
@@ -316,7 +316,7 @@
- Show on GitHub + Show on GitHub
diff --git a/docs/Containers.html b/docs/Containers.html index b50daf73..b94a650d 100644 --- a/docs/Containers.html +++ b/docs/Containers.html @@ -211,7 +211,7 @@
- Show on GitHub + Show on GitHub
@@ -242,7 +242,7 @@
- Show on GitHub + Show on GitHub
@@ -277,7 +277,7 @@
- Show on GitHub + Show on GitHub
@@ -308,7 +308,7 @@
- Show on GitHub + Show on GitHub
diff --git a/docs/Enums/BZip2Error.html b/docs/Enums/BZip2Error.html index ebfb336e..8daf7ce5 100644 --- a/docs/Enums/BZip2Error.html +++ b/docs/Enums/BZip2Error.html @@ -219,7 +219,7 @@ It may indicate that either data is damaged or it might not be compressed with B
- Show on GitHub + Show on GitHub
@@ -253,7 +253,7 @@ It may indicate that either data is damaged or it might not be compressed with B
- Show on GitHub + Show on GitHub
@@ -287,7 +287,7 @@ It may indicate that either data is damaged or it might not be compressed with B
- Show on GitHub + Show on GitHub
@@ -321,7 +321,7 @@ It may indicate that either data is damaged or it might not be compressed with B
- Show on GitHub + Show on GitHub
@@ -355,7 +355,7 @@ It may indicate that either data is damaged or it might not be compressed with B
- Show on GitHub + Show on GitHub
@@ -389,7 +389,7 @@ It may indicate that either data is damaged or it might not be compressed with B
- Show on GitHub + Show on GitHub
@@ -423,7 +423,7 @@ It may indicate that either data is damaged or it might not be compressed with B
- Show on GitHub + Show on GitHub
@@ -457,7 +457,7 @@ It may indicate that either data is damaged or it might not be compressed with B
- Show on GitHub + Show on GitHub
@@ -491,7 +491,7 @@ It may indicate that either data is damaged or it might not be compressed with B
- Show on GitHub + Show on GitHub
@@ -526,7 +526,7 @@ Associated value of the error contains already decompressed data.

- Show on GitHub + Show on GitHub
diff --git a/docs/Enums/DeflateError.html b/docs/Enums/DeflateError.html index a90cd963..347777ae 100644 --- a/docs/Enums/DeflateError.html +++ b/docs/Enums/DeflateError.html @@ -219,7 +219,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
- Show on GitHub + Show on GitHub
@@ -253,7 +253,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
- Show on GitHub + Show on GitHub
@@ -287,7 +287,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
- Show on GitHub + Show on GitHub
@@ -321,7 +321,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
- Show on GitHub + Show on GitHub
diff --git a/docs/Enums/GzipError.html b/docs/Enums/GzipError.html index 22f4fda8..95bd757f 100644 --- a/docs/Enums/GzipError.html +++ b/docs/Enums/GzipError.html @@ -219,7 +219,7 @@ It may indicate that either archive is damaged or it might not be GZip archive a
- Show on GitHub + Show on GitHub
@@ -253,7 +253,7 @@ It may indicate that either archive is damaged or it might not be GZip archive a
- Show on GitHub + Show on GitHub
@@ -288,7 +288,7 @@ that archive uses a newer version of GZip format.

- Show on GitHub + Show on GitHub
@@ -322,7 +322,7 @@ that archive uses a newer version of GZip format.

- Show on GitHub + Show on GitHub
@@ -357,7 +357,7 @@ Associated value of the error contains already decompressed data.

- Show on GitHub + Show on GitHub
@@ -391,7 +391,7 @@ Associated value of the error contains already decompressed data.

- Show on GitHub + Show on GitHub
@@ -425,7 +425,7 @@ Associated value of the error contains already decompressed data.

- Show on GitHub + Show on GitHub
diff --git a/docs/Enums/LZMA2Error.html b/docs/Enums/LZMA2Error.html index dbb3cea6..bc5cddec 100644 --- a/docs/Enums/LZMA2Error.html +++ b/docs/Enums/LZMA2Error.html @@ -219,7 +219,7 @@ It may indicate that either data is damaged or it might not be compressed with L
- Show on GitHub + Show on GitHub
@@ -253,7 +253,7 @@ It may indicate that either data is damaged or it might not be compressed with L
- Show on GitHub + Show on GitHub
@@ -287,7 +287,7 @@ It may indicate that either data is damaged or it might not be compressed with L
- Show on GitHub + Show on GitHub
@@ -321,7 +321,7 @@ It may indicate that either data is damaged or it might not be compressed with L
- Show on GitHub + Show on GitHub
@@ -356,7 +356,7 @@ amount of compressed data read is different from the one stored in LZMA2 packet.
- Show on GitHub + Show on GitHub
diff --git a/docs/Enums/LZMAError.html b/docs/Enums/LZMAError.html index 4a916a6a..471e4ab0 100644 --- a/docs/Enums/LZMAError.html +++ b/docs/Enums/LZMAError.html @@ -219,7 +219,7 @@ It may indicate that either data is damaged or it might not be compressed with L
- Show on GitHub + Show on GitHub
@@ -253,7 +253,7 @@ It may indicate that either data is damaged or it might not be compressed with L
- Show on GitHub + Show on GitHub
@@ -287,7 +287,7 @@ It may indicate that either data is damaged or it might not be compressed with L
- Show on GitHub + Show on GitHub
@@ -321,7 +321,7 @@ It may indicate that either data is damaged or it might not be compressed with L
- Show on GitHub + Show on GitHub
@@ -355,7 +355,7 @@ It may indicate that either data is damaged or it might not be compressed with L
- Show on GitHub + Show on GitHub
@@ -389,7 +389,7 @@ It may indicate that either data is damaged or it might not be compressed with L
- Show on GitHub + Show on GitHub
@@ -423,7 +423,7 @@ It may indicate that either data is damaged or it might not be compressed with L
- Show on GitHub + Show on GitHub
@@ -457,7 +457,7 @@ It may indicate that either data is damaged or it might not be compressed with L
- Show on GitHub + Show on GitHub
diff --git a/docs/Enums/TarError.html b/docs/Enums/TarError.html index 85c10564..33b367a7 100644 --- a/docs/Enums/TarError.html +++ b/docs/Enums/TarError.html @@ -219,7 +219,7 @@ It may indicate that either container is damaged or it might not be TAR containe
- Show on GitHub + Show on GitHub
@@ -253,7 +253,7 @@ It may indicate that either container is damaged or it might not be TAR containe
- Show on GitHub + Show on GitHub
@@ -287,7 +287,7 @@ It may indicate that either container is damaged or it might not be TAR containe
- Show on GitHub + Show on GitHub
@@ -321,7 +321,7 @@ It may indicate that either container is damaged or it might not be TAR containe
- Show on GitHub + Show on GitHub
@@ -355,7 +355,7 @@ It may indicate that either container is damaged or it might not be TAR containe
- Show on GitHub + Show on GitHub
@@ -389,7 +389,7 @@ It may indicate that either container is damaged or it might not be TAR containe
- Show on GitHub + Show on GitHub
diff --git a/docs/Enums/XZError.html b/docs/Enums/XZError.html index 20607567..056565b1 100644 --- a/docs/Enums/XZError.html +++ b/docs/Enums/XZError.html @@ -219,7 +219,7 @@ It may indicate that either archive is damaged or it might not be XZ archive at
- Show on GitHub + Show on GitHub
@@ -253,7 +253,7 @@ It may indicate that either archive is damaged or it might not be XZ archive at
- Show on GitHub + Show on GitHub
@@ -288,7 +288,7 @@ that archive uses a newer version of XZ format.

- Show on GitHub + Show on GitHub
@@ -322,7 +322,7 @@ that archive uses a newer version of XZ format.

- Show on GitHub + Show on GitHub
@@ -356,7 +356,7 @@ that archive uses a newer version of XZ format.

- Show on GitHub + Show on GitHub
@@ -390,7 +390,7 @@ that archive uses a newer version of XZ format.

- Show on GitHub + Show on GitHub
@@ -425,7 +425,7 @@ amount of compressed data read is different from the one stored in archive.

- Show on GitHub + Show on GitHub
@@ -460,7 +460,7 @@ Associated value of the error contains already decompressed data.

- Show on GitHub + Show on GitHub
@@ -494,7 +494,7 @@ Associated value of the error contains already decompressed data.

- Show on GitHub + Show on GitHub
@@ -528,7 +528,7 @@ Associated value of the error contains already decompressed data.

- Show on GitHub + Show on GitHub
diff --git a/docs/Enums/ZipError.html b/docs/Enums/ZipError.html index 6963818c..f3810dec 100644 --- a/docs/Enums/ZipError.html +++ b/docs/Enums/ZipError.html @@ -219,7 +219,7 @@ It may indicate that either container is damaged or it might not be ZIP containe
- Show on GitHub + Show on GitHub
@@ -253,7 +253,7 @@ It may indicate that either container is damaged or it might not be ZIP containe
- Show on GitHub + Show on GitHub
@@ -287,7 +287,7 @@ It may indicate that either container is damaged or it might not be ZIP containe
- Show on GitHub + Show on GitHub
@@ -321,7 +321,7 @@ It may indicate that either container is damaged or it might not be ZIP containe
- Show on GitHub + Show on GitHub
@@ -355,7 +355,7 @@ It may indicate that either container is damaged or it might not be ZIP containe
- Show on GitHub + Show on GitHub
@@ -389,7 +389,7 @@ It may indicate that either container is damaged or it might not be ZIP containe
- Show on GitHub + Show on GitHub
@@ -423,7 +423,7 @@ It may indicate that either container is damaged or it might not be ZIP containe
- Show on GitHub + Show on GitHub
@@ -457,7 +457,7 @@ It may indicate that either container is damaged or it might not be ZIP containe
- Show on GitHub + Show on GitHub
@@ -491,7 +491,7 @@ It may indicate that either container is damaged or it might not be ZIP containe
- Show on GitHub + Show on GitHub
@@ -526,7 +526,7 @@ Associated value of the error contains entry’s data.

- Show on GitHub + Show on GitHub
@@ -560,7 +560,7 @@ Associated value of the error contains entry’s data.

- Show on GitHub + Show on GitHub
diff --git a/docs/Enums/ZlibError.html b/docs/Enums/ZlibError.html index 7918f1b3..1146f7da 100644 --- a/docs/Enums/ZlibError.html +++ b/docs/Enums/ZlibError.html @@ -219,7 +219,7 @@ It may indicate that either archive is damaged or it might not be Zlib archive a
- Show on GitHub + Show on GitHub
@@ -253,7 +253,7 @@ It may indicate that either archive is damaged or it might not be Zlib archive a
- Show on GitHub + Show on GitHub
@@ -287,7 +287,7 @@ It may indicate that either archive is damaged or it might not be Zlib archive a
- Show on GitHub + Show on GitHub
@@ -321,7 +321,7 @@ It may indicate that either archive is damaged or it might not be Zlib archive a
- Show on GitHub + Show on GitHub
@@ -356,7 +356,7 @@ Associated value of the error contains already decompressed data.

- Show on GitHub + Show on GitHub
diff --git a/docs/Errors.html b/docs/Errors.html index cd7d6446..56647a22 100644 --- a/docs/Errors.html +++ b/docs/Errors.html @@ -212,7 +212,7 @@ It may indicate that either data is damaged or it might not be compressed with B
- Show on GitHub + Show on GitHub
@@ -248,7 +248,7 @@ It may indicate that either the data is damaged or it might not be compressed wi
- Show on GitHub + Show on GitHub
@@ -284,7 +284,7 @@ It may indicate that either archive is damaged or it might not be GZip archive a
- Show on GitHub + Show on GitHub
@@ -320,7 +320,7 @@ It may indicate that either data is damaged or it might not be compressed with L
- Show on GitHub + Show on GitHub
@@ -356,7 +356,7 @@ It may indicate that either data is damaged or it might not be compressed with L
- Show on GitHub + Show on GitHub
@@ -392,7 +392,7 @@ It may indicate that either container is damaged or it might not be TAR containe
- Show on GitHub + Show on GitHub
@@ -428,7 +428,7 @@ It may indicate that either archive is damaged or it might not be XZ archive at
- Show on GitHub + Show on GitHub
@@ -464,7 +464,7 @@ It may indicate that either container is damaged or it might not be ZIP containe
- Show on GitHub + Show on GitHub
@@ -500,7 +500,7 @@ It may indicate that either archive is damaged or it might not be Zlib archive a
- Show on GitHub + Show on GitHub
diff --git a/docs/Protocols.html b/docs/Protocols.html index 3c62f284..893f9243 100644 --- a/docs/Protocols.html +++ b/docs/Protocols.html @@ -211,7 +211,7 @@
- Show on GitHub + Show on GitHub
@@ -242,7 +242,7 @@
- Show on GitHub + Show on GitHub
@@ -273,7 +273,7 @@
- Show on GitHub + Show on GitHub
@@ -304,7 +304,7 @@
- Show on GitHub + Show on GitHub
diff --git a/docs/Protocols/Archive.html b/docs/Protocols/Archive.html index daca2518..a7373bb4 100644 --- a/docs/Protocols/Archive.html +++ b/docs/Protocols/Archive.html @@ -218,7 +218,7 @@
- Show on GitHub + Show on GitHub
diff --git a/docs/Protocols/Container.html b/docs/Protocols/Container.html index bc513226..36d3eee7 100644 --- a/docs/Protocols/Container.html +++ b/docs/Protocols/Container.html @@ -218,7 +218,7 @@
- Show on GitHub + Show on GitHub
diff --git a/docs/Protocols/ContainerEntry.html b/docs/Protocols/ContainerEntry.html index 68cf6e54..39e6c411 100644 --- a/docs/Protocols/ContainerEntry.html +++ b/docs/Protocols/ContainerEntry.html @@ -218,7 +218,7 @@
- Show on GitHub + Show on GitHub
@@ -248,7 +248,7 @@
- Show on GitHub + Show on GitHub
@@ -278,7 +278,7 @@
- Show on GitHub + Show on GitHub
@@ -314,7 +314,7 @@
- Show on GitHub + Show on GitHub
@@ -344,7 +344,7 @@
- Show on GitHub + Show on GitHub
diff --git a/docs/Protocols/DecompressionAlgorithm.html b/docs/Protocols/DecompressionAlgorithm.html index 13955aaf..d37bd0bc 100644 --- a/docs/Protocols/DecompressionAlgorithm.html +++ b/docs/Protocols/DecompressionAlgorithm.html @@ -218,7 +218,7 @@
- Show on GitHub + Show on GitHub
diff --git a/docs/Structs/GzipHeader.html b/docs/Structs/GzipHeader.html index 913e5600..9c88461d 100644 --- a/docs/Structs/GzipHeader.html +++ b/docs/Structs/GzipHeader.html @@ -219,7 +219,7 @@
- Show on GitHub + Show on GitHub
@@ -250,7 +250,7 @@
- Show on GitHub + Show on GitHub
@@ -280,7 +280,7 @@
- Show on GitHub + Show on GitHub
@@ -312,7 +312,7 @@ then this property is nil.

- Show on GitHub + Show on GitHub
@@ -342,7 +342,7 @@ then this property is nil.

- Show on GitHub + Show on GitHub
@@ -372,7 +372,7 @@ then this property is nil.

- Show on GitHub + Show on GitHub
@@ -402,7 +402,7 @@ then this property is nil.

- Show on GitHub + Show on GitHub
@@ -432,7 +432,7 @@ then this property is nil.

- Show on GitHub + Show on GitHub
@@ -489,7 +489,7 @@ it might not be archived with GZip at all.

- Show on GitHub + Show on GitHub
diff --git a/docs/Structs/GzipHeader/CompressionMethod.html b/docs/Structs/GzipHeader/CompressionMethod.html index 702b0a6f..0117e5dd 100644 --- a/docs/Structs/GzipHeader/CompressionMethod.html +++ b/docs/Structs/GzipHeader/CompressionMethod.html @@ -218,7 +218,7 @@
- Show on GitHub + Show on GitHub
diff --git a/docs/Structs/GzipHeader/FileSystemType.html b/docs/Structs/GzipHeader/FileSystemType.html index 9b3ae281..84e5bebc 100644 --- a/docs/Structs/GzipHeader/FileSystemType.html +++ b/docs/Structs/GzipHeader/FileSystemType.html @@ -223,7 +223,7 @@
- Show on GitHub + Show on GitHub
@@ -257,7 +257,7 @@
- Show on GitHub + Show on GitHub
@@ -291,7 +291,7 @@
- Show on GitHub + Show on GitHub
@@ -325,7 +325,7 @@
- Show on GitHub + Show on GitHub
@@ -359,7 +359,7 @@
- Show on GitHub + Show on GitHub
diff --git a/docs/Structs/ZlibHeader.html b/docs/Structs/ZlibHeader.html index 1b11ba66..785782fa 100644 --- a/docs/Structs/ZlibHeader.html +++ b/docs/Structs/ZlibHeader.html @@ -219,7 +219,7 @@
- Show on GitHub + Show on GitHub
@@ -250,7 +250,7 @@
- Show on GitHub + Show on GitHub
@@ -280,7 +280,7 @@
- Show on GitHub + Show on GitHub
@@ -310,7 +310,7 @@
- Show on GitHub + Show on GitHub
@@ -340,7 +340,7 @@
- Show on GitHub + Show on GitHub
@@ -397,7 +397,7 @@ it might not be archived with Zlib at all.

- Show on GitHub + Show on GitHub
diff --git a/docs/Structs/ZlibHeader/CompressionLevel.html b/docs/Structs/ZlibHeader/CompressionLevel.html index 8f31d7bf..f7b6eb16 100644 --- a/docs/Structs/ZlibHeader/CompressionLevel.html +++ b/docs/Structs/ZlibHeader/CompressionLevel.html @@ -218,7 +218,7 @@
- Show on GitHub + Show on GitHub
@@ -252,7 +252,7 @@
- Show on GitHub + Show on GitHub
@@ -286,7 +286,7 @@
- Show on GitHub + Show on GitHub
@@ -320,7 +320,7 @@
- Show on GitHub + Show on GitHub
diff --git a/docs/Structs/ZlibHeader/CompressionMethod.html b/docs/Structs/ZlibHeader/CompressionMethod.html index 32ec9ab1..6221094d 100644 --- a/docs/Structs/ZlibHeader/CompressionMethod.html +++ b/docs/Structs/ZlibHeader/CompressionMethod.html @@ -218,7 +218,7 @@
- Show on GitHub + Show on GitHub
diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Archives.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Archives.html index 897c1806..5f685f0f 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Archives.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Archives.html @@ -211,7 +211,7 @@
- Show on GitHub + Show on GitHub
@@ -242,7 +242,7 @@
- Show on GitHub + Show on GitHub
@@ -277,7 +277,7 @@
- Show on GitHub + Show on GitHub
@@ -308,7 +308,7 @@
- Show on GitHub + Show on GitHub
@@ -343,7 +343,7 @@
- Show on GitHub + Show on GitHub
diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/BZip2.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/BZip2.html index 44c05423..e6c3557f 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/BZip2.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/BZip2.html @@ -249,7 +249,7 @@ It may indicate that either data is damaged or it might not be compressed with B

Decompressed data.

- Show on GitHub + Show on GitHub
diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/Deflate.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/Deflate.html index fb3a49f2..23a308df 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/Deflate.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/Deflate.html @@ -254,7 +254,7 @@ It may indicate that either data is damaged or it might not be compressed with D

Decompressed data.

- Show on GitHub + Show on GitHub
@@ -314,7 +314,7 @@ then static Huffman block will be created.

- Show on GitHub + Show on GitHub
diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/GzipArchive.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/GzipArchive.html index 52f6ef9b..12b9cc3f 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/GzipArchive.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/GzipArchive.html @@ -219,7 +219,7 @@
- Show on GitHub + Show on GitHub
@@ -288,7 +288,7 @@ it might not be archived with GZip or compressed with Deflate at all.

Unarchived data.

- Show on GitHub + Show on GitHub
@@ -357,7 +357,7 @@ it might not be archived with GZip or compressed with Deflate at all.

Unarchived data.

- Show on GitHub + Show on GitHub
@@ -500,7 +500,7 @@ then - Show on GitHub + Show on GitHub diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/GzipArchive/Member.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/GzipArchive/Member.html index 9e6d61c5..94d725b5 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/GzipArchive/Member.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/GzipArchive/Member.html @@ -218,7 +218,7 @@ @@ -248,7 +248,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/LZMA.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/LZMA.html index 46dbae3f..56ed0572 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/LZMA.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/LZMA.html @@ -249,7 +249,7 @@ It may indicate that either data is damaged or it might not be compressed with L

Decompressed data.

diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/LZMA2.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/LZMA2.html index f65057df..734f1aa4 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/LZMA2.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/LZMA2.html @@ -249,7 +249,7 @@ It may indicate that either data is damaged or it might not be compressed with L

Decompressed data.

diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarContainer.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarContainer.html index 19128e91..a5ddf5a5 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarContainer.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarContainer.html @@ -254,7 +254,7 @@ but one SHOULD NOT rely on any particular order.

Array of TarEntry as an array of ContainerEntry.

diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarEntry.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarEntry.html index 035a5e7f..1d196e92 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarEntry.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarEntry.html @@ -224,7 +224,7 @@ @@ -254,7 +254,7 @@ @@ -284,7 +284,7 @@ @@ -314,7 +314,7 @@ @@ -364,7 +364,7 @@ @@ -399,7 +399,7 @@ @@ -434,7 +434,7 @@ @@ -469,7 +469,7 @@ @@ -504,7 +504,7 @@ @@ -539,7 +539,7 @@ @@ -574,7 +574,7 @@ @@ -609,7 +609,7 @@ @@ -639,7 +639,7 @@ @@ -669,7 +669,7 @@ @@ -699,7 +699,7 @@ @@ -729,7 +729,7 @@ @@ -759,7 +759,7 @@ @@ -789,7 +789,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarEntry/EntryType.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarEntry/EntryType.html index 5767001c..345de6cc 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarEntry/EntryType.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/TarEntry/EntryType.html @@ -223,7 +223,7 @@ @@ -257,7 +257,7 @@ @@ -291,7 +291,7 @@ @@ -325,7 +325,7 @@ @@ -359,7 +359,7 @@ @@ -393,7 +393,7 @@ @@ -427,7 +427,7 @@ @@ -461,7 +461,7 @@ @@ -495,7 +495,7 @@ @@ -529,7 +529,7 @@ @@ -563,7 +563,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/XZArchive.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/XZArchive.html index ddf7dbb7..420af875 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/XZArchive.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/XZArchive.html @@ -254,7 +254,7 @@ It may indicate that either the archive is damaged or it might not be compressed

Unarchived data.

@@ -322,7 +322,7 @@ it might not be archived with XZ or LZMA(2) at all.

Unarchived data.

diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZipContainer.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZipContainer.html index 690d96fc..8b61ed81 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZipContainer.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZipContainer.html @@ -256,7 +256,7 @@ It may indicate that either container is damaged or it might not be ZIP containe

Array of ZipEntry as an array of ContainerEntry.

diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZipEntry.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZipEntry.html index 93dcc829..d250771f 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZipEntry.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZipEntry.html @@ -218,7 +218,7 @@ @@ -248,7 +248,7 @@ @@ -283,7 +283,7 @@ @@ -313,7 +313,7 @@ @@ -345,7 +345,7 @@ Otherwise, it is true if size of data is 0 AND last character of entry’s n @@ -390,7 +390,7 @@ Otherwise, it is true if size of data is 0 AND last character of entry’s n @@ -426,7 +426,7 @@ depending on the type of the problem. An error can indicate that container is da diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZlibArchive.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZlibArchive.html index 329afaea..057d62c7 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZlibArchive.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Classes/ZlibArchive.html @@ -257,7 +257,7 @@ it might not be archived with Zlib or compressed with Deflate at all.

Unarchived data.

@@ -324,7 +324,7 @@ It will also be specified in archive’s header that the compressor used the

Resulting archive’s data.

diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Compression.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Compression.html index 0eb8aee2..177515af 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Compression.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Compression.html @@ -211,7 +211,7 @@ @@ -246,7 +246,7 @@ @@ -281,7 +281,7 @@ @@ -316,7 +316,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Containers.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Containers.html index b50daf73..b94a650d 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Containers.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Containers.html @@ -211,7 +211,7 @@ @@ -242,7 +242,7 @@ @@ -277,7 +277,7 @@ @@ -308,7 +308,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/BZip2Error.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/BZip2Error.html index ebfb336e..8daf7ce5 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/BZip2Error.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/BZip2Error.html @@ -219,7 +219,7 @@ It may indicate that either data is damaged or it might not be compressed with B @@ -253,7 +253,7 @@ It may indicate that either data is damaged or it might not be compressed with B @@ -287,7 +287,7 @@ It may indicate that either data is damaged or it might not be compressed with B @@ -321,7 +321,7 @@ It may indicate that either data is damaged or it might not be compressed with B @@ -355,7 +355,7 @@ It may indicate that either data is damaged or it might not be compressed with B @@ -389,7 +389,7 @@ It may indicate that either data is damaged or it might not be compressed with B @@ -423,7 +423,7 @@ It may indicate that either data is damaged or it might not be compressed with B @@ -457,7 +457,7 @@ It may indicate that either data is damaged or it might not be compressed with B @@ -491,7 +491,7 @@ It may indicate that either data is damaged or it might not be compressed with B @@ -526,7 +526,7 @@ Associated value of the error contains already decompressed data.

diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/DeflateError.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/DeflateError.html index a90cd963..347777ae 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/DeflateError.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/DeflateError.html @@ -219,7 +219,7 @@ It may indicate that either the data is damaged or it might not be compressed wi @@ -253,7 +253,7 @@ It may indicate that either the data is damaged or it might not be compressed wi @@ -287,7 +287,7 @@ It may indicate that either the data is damaged or it might not be compressed wi @@ -321,7 +321,7 @@ It may indicate that either the data is damaged or it might not be compressed wi diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/GzipError.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/GzipError.html index 22f4fda8..95bd757f 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/GzipError.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/GzipError.html @@ -219,7 +219,7 @@ It may indicate that either archive is damaged or it might not be GZip archive a @@ -253,7 +253,7 @@ It may indicate that either archive is damaged or it might not be GZip archive a @@ -288,7 +288,7 @@ that archive uses a newer version of GZip format.

@@ -322,7 +322,7 @@ that archive uses a newer version of GZip format.

@@ -357,7 +357,7 @@ Associated value of the error contains already decompressed data.

@@ -391,7 +391,7 @@ Associated value of the error contains already decompressed data.

@@ -425,7 +425,7 @@ Associated value of the error contains already decompressed data.

diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/LZMA2Error.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/LZMA2Error.html index dbb3cea6..bc5cddec 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/LZMA2Error.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/LZMA2Error.html @@ -219,7 +219,7 @@ It may indicate that either data is damaged or it might not be compressed with L @@ -253,7 +253,7 @@ It may indicate that either data is damaged or it might not be compressed with L @@ -287,7 +287,7 @@ It may indicate that either data is damaged or it might not be compressed with L @@ -321,7 +321,7 @@ It may indicate that either data is damaged or it might not be compressed with L @@ -356,7 +356,7 @@ amount of compressed data read is different from the one stored in LZMA2 packet. diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/LZMAError.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/LZMAError.html index 4a916a6a..471e4ab0 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/LZMAError.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/LZMAError.html @@ -219,7 +219,7 @@ It may indicate that either data is damaged or it might not be compressed with L @@ -253,7 +253,7 @@ It may indicate that either data is damaged or it might not be compressed with L @@ -287,7 +287,7 @@ It may indicate that either data is damaged or it might not be compressed with L @@ -321,7 +321,7 @@ It may indicate that either data is damaged or it might not be compressed with L @@ -355,7 +355,7 @@ It may indicate that either data is damaged or it might not be compressed with L @@ -389,7 +389,7 @@ It may indicate that either data is damaged or it might not be compressed with L @@ -423,7 +423,7 @@ It may indicate that either data is damaged or it might not be compressed with L @@ -457,7 +457,7 @@ It may indicate that either data is damaged or it might not be compressed with L diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/TarError.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/TarError.html index 85c10564..33b367a7 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/TarError.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/TarError.html @@ -219,7 +219,7 @@ It may indicate that either container is damaged or it might not be TAR containe @@ -253,7 +253,7 @@ It may indicate that either container is damaged or it might not be TAR containe @@ -287,7 +287,7 @@ It may indicate that either container is damaged or it might not be TAR containe @@ -321,7 +321,7 @@ It may indicate that either container is damaged or it might not be TAR containe @@ -355,7 +355,7 @@ It may indicate that either container is damaged or it might not be TAR containe @@ -389,7 +389,7 @@ It may indicate that either container is damaged or it might not be TAR containe diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/XZError.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/XZError.html index 20607567..056565b1 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/XZError.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/XZError.html @@ -219,7 +219,7 @@ It may indicate that either archive is damaged or it might not be XZ archive at @@ -253,7 +253,7 @@ It may indicate that either archive is damaged or it might not be XZ archive at @@ -288,7 +288,7 @@ that archive uses a newer version of XZ format.

@@ -322,7 +322,7 @@ that archive uses a newer version of XZ format.

@@ -356,7 +356,7 @@ that archive uses a newer version of XZ format.

@@ -390,7 +390,7 @@ that archive uses a newer version of XZ format.

@@ -425,7 +425,7 @@ amount of compressed data read is different from the one stored in archive.

@@ -460,7 +460,7 @@ Associated value of the error contains already decompressed data.

@@ -494,7 +494,7 @@ Associated value of the error contains already decompressed data.

@@ -528,7 +528,7 @@ Associated value of the error contains already decompressed data.

diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/ZipError.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/ZipError.html index 6963818c..f3810dec 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/ZipError.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/ZipError.html @@ -219,7 +219,7 @@ It may indicate that either container is damaged or it might not be ZIP containe @@ -253,7 +253,7 @@ It may indicate that either container is damaged or it might not be ZIP containe @@ -287,7 +287,7 @@ It may indicate that either container is damaged or it might not be ZIP containe @@ -321,7 +321,7 @@ It may indicate that either container is damaged or it might not be ZIP containe @@ -355,7 +355,7 @@ It may indicate that either container is damaged or it might not be ZIP containe @@ -389,7 +389,7 @@ It may indicate that either container is damaged or it might not be ZIP containe @@ -423,7 +423,7 @@ It may indicate that either container is damaged or it might not be ZIP containe @@ -457,7 +457,7 @@ It may indicate that either container is damaged or it might not be ZIP containe @@ -491,7 +491,7 @@ It may indicate that either container is damaged or it might not be ZIP containe @@ -526,7 +526,7 @@ Associated value of the error contains entry’s data.

@@ -560,7 +560,7 @@ Associated value of the error contains entry’s data.

diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/ZlibError.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/ZlibError.html index 7918f1b3..1146f7da 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/ZlibError.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Enums/ZlibError.html @@ -219,7 +219,7 @@ It may indicate that either archive is damaged or it might not be Zlib archive a @@ -253,7 +253,7 @@ It may indicate that either archive is damaged or it might not be Zlib archive a @@ -287,7 +287,7 @@ It may indicate that either archive is damaged or it might not be Zlib archive a @@ -321,7 +321,7 @@ It may indicate that either archive is damaged or it might not be Zlib archive a @@ -356,7 +356,7 @@ Associated value of the error contains already decompressed data.

diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Errors.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Errors.html index cd7d6446..56647a22 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Errors.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Errors.html @@ -212,7 +212,7 @@ It may indicate that either data is damaged or it might not be compressed with B @@ -248,7 +248,7 @@ It may indicate that either the data is damaged or it might not be compressed wi @@ -284,7 +284,7 @@ It may indicate that either archive is damaged or it might not be GZip archive a @@ -320,7 +320,7 @@ It may indicate that either data is damaged or it might not be compressed with L @@ -356,7 +356,7 @@ It may indicate that either data is damaged or it might not be compressed with L @@ -392,7 +392,7 @@ It may indicate that either container is damaged or it might not be TAR containe @@ -428,7 +428,7 @@ It may indicate that either archive is damaged or it might not be XZ archive at @@ -464,7 +464,7 @@ It may indicate that either container is damaged or it might not be ZIP containe @@ -500,7 +500,7 @@ It may indicate that either archive is damaged or it might not be Zlib archive a diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols.html index 3c62f284..893f9243 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols.html @@ -211,7 +211,7 @@ @@ -242,7 +242,7 @@ @@ -273,7 +273,7 @@ @@ -304,7 +304,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/Archive.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/Archive.html index daca2518..a7373bb4 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/Archive.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/Archive.html @@ -218,7 +218,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/Container.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/Container.html index bc513226..36d3eee7 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/Container.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/Container.html @@ -218,7 +218,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/ContainerEntry.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/ContainerEntry.html index 68cf6e54..39e6c411 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/ContainerEntry.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/ContainerEntry.html @@ -218,7 +218,7 @@ @@ -248,7 +248,7 @@ @@ -278,7 +278,7 @@ @@ -314,7 +314,7 @@ @@ -344,7 +344,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/DecompressionAlgorithm.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/DecompressionAlgorithm.html index 13955aaf..d37bd0bc 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/DecompressionAlgorithm.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Protocols/DecompressionAlgorithm.html @@ -218,7 +218,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader.html index 913e5600..9c88461d 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader.html @@ -219,7 +219,7 @@ @@ -250,7 +250,7 @@ @@ -280,7 +280,7 @@ @@ -312,7 +312,7 @@ then this property is nil.

@@ -342,7 +342,7 @@ then this property is nil.

@@ -372,7 +372,7 @@ then this property is nil.

@@ -402,7 +402,7 @@ then this property is nil.

@@ -432,7 +432,7 @@ then this property is nil.

@@ -489,7 +489,7 @@ it might not be archived with GZip at all.

diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader/CompressionMethod.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader/CompressionMethod.html index 702b0a6f..0117e5dd 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader/CompressionMethod.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader/CompressionMethod.html @@ -218,7 +218,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader/FileSystemType.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader/FileSystemType.html index 9b3ae281..84e5bebc 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader/FileSystemType.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/GzipHeader/FileSystemType.html @@ -223,7 +223,7 @@ @@ -257,7 +257,7 @@ @@ -291,7 +291,7 @@ @@ -325,7 +325,7 @@ @@ -359,7 +359,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader.html index 1b11ba66..785782fa 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader.html @@ -219,7 +219,7 @@ @@ -250,7 +250,7 @@ @@ -280,7 +280,7 @@ @@ -310,7 +310,7 @@ @@ -340,7 +340,7 @@ @@ -397,7 +397,7 @@ it might not be archived with Zlib at all.

diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader/CompressionLevel.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader/CompressionLevel.html index 8f31d7bf..f7b6eb16 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader/CompressionLevel.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader/CompressionLevel.html @@ -218,7 +218,7 @@ @@ -252,7 +252,7 @@ @@ -286,7 +286,7 @@ @@ -320,7 +320,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader/CompressionMethod.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader/CompressionMethod.html index 32ec9ab1..6221094d 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader/CompressionMethod.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/Structs/ZlibHeader/CompressionMethod.html @@ -218,7 +218,7 @@ diff --git a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/index.html b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/index.html index 76d64c90..2535f684 100644 --- a/docs/docsets/SWCompression.docset/Contents/Resources/Documents/index.html +++ b/docs/docsets/SWCompression.docset/Contents/Resources/Documents/index.html @@ -361,12 +361,6 @@ contain only last member’s data as their associated value instead of all s

Comment: Philosophy for such errors is that by the time these errors are thrown, decompression was already performed, so we can still provide the result of decompression to the caller. It is intended to fix this problem, but solution requires backwards-incompatible API changes so it is delayed until 4.0 release.

- -

Future plans