1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-26 07:13:24 +03:00

GH-433 Remove unnec' class from static field usage

This commit is contained in:
Tae Won Ha 2017-05-03 22:37:25 +02:00
parent f014ba39f8
commit 86fb1c80dc
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -10,16 +10,16 @@ fileprivate let iconsCache = NSCache<NSURL, NSImage>()
class FileUtils { class FileUtils {
fileprivate static let keysToGet = [ fileprivate static let keysToGet: [URLResourceKey] = [
URLResourceKey.isDirectoryKey, .isDirectoryKey,
URLResourceKey.isHiddenKey, .isHiddenKey,
URLResourceKey.isAliasFileKey, .isAliasFileKey,
URLResourceKey.isSymbolicLinkKey .isSymbolicLinkKey
] ]
fileprivate static let scanOptions: FileManager.DirectoryEnumerationOptions = [ fileprivate static let scanOptions: FileManager.DirectoryEnumerationOptions = [
FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants, .skipsSubdirectoryDescendants,
FileManager.DirectoryEnumerationOptions.skipsPackageDescendants .skipsPackageDescendants
] ]
fileprivate static let fileManager = FileManager.default fileprivate static let fileManager = FileManager.default