Sort new enums' cases alphabetically

This commit is contained in:
Timofey Solomko
2017-10-28 17:49:35 +03:00
parent 15f954cd46
commit 4cab7c1ff3
2 changed files with 7 additions and 9 deletions
+1 -2
View File
@@ -6,11 +6,10 @@
import Foundation
public enum CompressionMethod {
// TODO: Sort alphabetically.
case bzip2
case copy
case deflate
case lzma
case lzma2
case bzip2
case other
}
+6 -7
View File
@@ -6,16 +6,15 @@
import Foundation
public enum FileSystemType {
// TODO: Sort alphabetically.
case fat
/// Older Macintosh systems.
case macintosh
case ntfs
case other
/**
One of many UNIX-like systems.
- Note: Modern macOS systems also fall into this category.
*/
case unix
/// Older Macintosh systems.
case macintosh
case fat
case ntfs
case other
}