Restore conformance to Container protocol of SevenZipContainer

Somehow I forgot to this...
This commit is contained in:
Timofey Solomko
2017-10-28 17:58:09 +03:00
parent dc6ad70168
commit f2b03d3e42
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
import Foundation
/// Provides open functions for 7-Zip containers.
public class SevenZipContainer {
public class SevenZipContainer: Container {
static let signatureHeaderSize = 32
+3 -3
View File
@@ -7,9 +7,6 @@ import Foundation
public struct ZipEntryInfo: ContainerEntryInfo {
let cdEntry: ZipCentralDirectoryEntry
let localHeader: ZipLocalHeader
// MARK: ContainerEntryInfo
/// Name of the file or directory.
@@ -43,6 +40,9 @@ public struct ZipEntryInfo: ContainerEntryInfo {
public let fileSystemType: FileSystemType?
public let compressionMethod: CompressionMethod
let cdEntry: ZipCentralDirectoryEntry
let localHeader: ZipLocalHeader
// We don't use `DataWithPointer` as argument, because it doesn't work well in asynchronous environment.
init(_ data: Data, _ offset: Int, _ currentDiskNumber: UInt32) throws {