Add FileSystemType enum for use in the entire project

This commit is contained in:
Timofey Solomko
2017-10-28 17:07:00 +03:00
parent 4a02aa6218
commit 74528268d9
+21
View File
@@ -0,0 +1,21 @@
// Copyright (c) 2017 Timofey Solomko
// Licensed under MIT License
//
// See LICENSE for license information
import Foundation
public enum FileSystemType {
// TODO: Sort alphabetically.
/**
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
}