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:
parent
f014ba39f8
commit
86fb1c80dc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user