Skip to content

Commit

Permalink
Remove unused coder IDs and extra comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tsolomko committed Aug 14, 2017
1 parent 59a0896 commit a65666c
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions Sources/7zCoder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,15 @@ class SevenZipCoder {

/// Possible coder IDs.
struct ID {
// TODO: Left comments column indicates whether coder has been implemented or not (I/NI) and tested (T/NT).
/* I/T */static let copy: [UInt8] = [0x00]
static let copy: [UInt8] = [0x00]
/// Shouldn't be used, added for compatibility, `ID.copy` should be used instead.
/* I/T */static let zipCopy: [UInt8] = [0x04, 0x01, 0x00]
/* I/T */static let deflate: [UInt8] = [0x04, 0x01, 0x08]
static let zipCopy: [UInt8] = [0x04, 0x01, 0x00]
static let deflate: [UInt8] = [0x04, 0x01, 0x08]
/// Shouldn't be used, added for compatibility, `ID.bzip2` should be used instead.
/* I/T */static let zipBzip2: [UInt8] = [0x04, 0x01, 0x0C]
/* NI/NT */static let zipLzma: [UInt8] = [0x04, 0x01, 0x0E]
/// For some reason, this method is specified in ZIP section of Methods.txt.
/* NI/NT */static let xz: [UInt8] = [0x04, 0x01, 0x5F]
/* I/T */static let bzip2: [UInt8] = [0x04, 0x02, 0x02]
/* I/T */static let lzma2: [UInt8] = [0x21]
/* I/T */static let lzma: [UInt8] = [0x03, 0x01, 0x01]
static let zipBzip2: [UInt8] = [0x04, 0x01, 0x0C]
static let bzip2: [UInt8] = [0x04, 0x02, 0x02]
static let lzma2: [UInt8] = [0x21]
static let lzma: [UInt8] = [0x03, 0x01, 0x01]
}

let idSize: Int
Expand Down

0 comments on commit a65666c

Please sign in to comment.