1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-25 23:02:35 +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 {
fileprivate static let keysToGet = [
URLResourceKey.isDirectoryKey,
URLResourceKey.isHiddenKey,
URLResourceKey.isAliasFileKey,
URLResourceKey.isSymbolicLinkKey
fileprivate static let keysToGet: [URLResourceKey] = [
.isDirectoryKey,
.isHiddenKey,
.isAliasFileKey,
.isSymbolicLinkKey
]
fileprivate static let scanOptions: FileManager.DirectoryEnumerationOptions = [
FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants,
FileManager.DirectoryEnumerationOptions.skipsPackageDescendants
.skipsSubdirectoryDescendants,
.skipsPackageDescendants
]
fileprivate static let fileManager = FileManager.default