From 4cab7c1ff35902ec85b27a0dcda5af2d8bebf81f Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Sat, 28 Oct 2017 17:49:35 +0300 Subject: [PATCH] Sort new enums' cases alphabetically --- Sources/Common/CompressionMethod.swift | 3 +-- Sources/Common/FileSystemType.swift | 13 ++++++------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/Sources/Common/CompressionMethod.swift b/Sources/Common/CompressionMethod.swift index e5d7f75b..78580778 100644 --- a/Sources/Common/CompressionMethod.swift +++ b/Sources/Common/CompressionMethod.swift @@ -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 } diff --git a/Sources/Common/FileSystemType.swift b/Sources/Common/FileSystemType.swift index d5b22906..ac0da430 100644 --- a/Sources/Common/FileSystemType.swift +++ b/Sources/Common/FileSystemType.swift @@ -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 }